[Xfce4-commits] <parole:master> Revert "Fixed pad bug."

Sean Davis noreply at xfce.org
Sun Jan 13 04:06:07 CET 2013


Updating branch refs/heads/master
         to 088e74b3e40761d1d042a2446e5ee5d8d71354c5 (commit)
       from f3ed2e33442d10caa0ccfa00ef91d83730645313 (commit)

commit 088e74b3e40761d1d042a2446e5ee5d8d71354c5
Author: Sean Davis <smd.seandavis at gmail.com>
Date:   Sat Jan 12 21:36:23 2013 -0500

    Revert "Fixed pad bug."
    
    This reverts commit c1d4a5888a6ca32e3311e86bee004a6fbd09785a.

 src/gst/parole-gst.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/src/gst/parole-gst.c b/src/gst/parole-gst.c
index dc26c51..85b26c1 100644
--- a/src/gst/parole-gst.c
+++ b/src/gst/parole-gst.c
@@ -773,10 +773,9 @@ parole_gst_get_pad_capabilities (GObject *object, GParamSpec *pspec, ParoleGst *
     guint num;
     guint den;
     const GValue *value;
-    GstCaps *caps;
+    GstCaps *caps = gst_pad_get_current_caps (pad);
     
     pad = GST_PAD (object);
-    caps = gst_pad_get_current_caps (pad);
     
     if ( !GST_IS_PAD (pad) || !caps )
 	return;


More information about the Xfce4-commits mailing list