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

Sean Davis noreply at xfce.org
Sun Jan 13 02:00:02 CET 2013


Updating branch refs/heads/master
         to c1d4a5888a6ca32e3311e86bee004a6fbd09785a (commit)
       from f5edf2865624b24e3eb8bdf7680a9b6e0a76939c (commit)

commit c1d4a5888a6ca32e3311e86bee004a6fbd09785a
Author: Sean Davis <smd.seandavis at gmail.com>
Date:   Sat Jan 12 10:29:19 2013 -0500

    Fixed pad bug.

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

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