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

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


Updating branch refs/heads/master
         to 870e38ee9e99572e93b6af56b94e3900b53ca544 (commit)
       from f8a764947b4f014bf89f81ae6ddfa8242c8c1ad5 (commit)

commit 870e38ee9e99572e93b6af56b94e3900b53ca544
Author: Sean Davis <smd.seandavis at gmail.com>
Date:   Sat Jan 12 21:53:56 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