slomo gst-plugins-good: gst-plugins-good/ gst-plugins-good/ext/dv/

[email protected] Mon, 8 Dec 2008 10:31:15 -0800 (PST)
Newsgroups gmane.comp.video.gstreamer.cvs
Message-ID <[email protected]>
CVS Root:       /cvs/gstreamer
Module:         gst-plugins-good
Changes by:     slomo
Date:           Mon Dec 08 2008  18:31:15 UTC

Log message:
* ext/dv/gstdvdemux.c: (gst_dvdemux_handle_src_event):
Forward all events upstream unless it's something we really
don't handle. This fixes latency configuration of pipelines.

Modified files:
    .               : ChangeLog
    ext/dv          : gstdvdemux.c

Links:
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-good/ChangeLog.diff?r1=1.3852&r2=1.3853
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-good/ext/dv/gstdvdemux.c.diff?r1=1.33&r2=1.34

====Begin Diffs====
Index: ChangeLog
===================================================================
RCS file: /cvs/gstreamer/gst-plugins-good/ChangeLog,v
retrieving revision 1.3852
retrieving revision 1.3853
diff -u -d -r1.3852 -r1.3853
--- ChangeLog	8 Dec 2008 18:24:18 -0000	1.3852
+++ ChangeLog	8 Dec 2008 18:30:59 -0000	1.3853
@@ -1,5 +1,11 @@
 2008-12-08  Sebastian Dröge  <[email protected]>
 
+	* ext/dv/gstdvdemux.c: (gst_dvdemux_handle_src_event):
+	Forward all events upstream unless it's something we really
+	don't handle. This fixes latency configuration of pipelines.
+
+2008-12-08  Sebastian Dröge  <[email protected]>
 	* ext/dv/gstdv.c: (plugin_init):
 	* ext/dv/gstdvdec.c: (gst_dvdec_class_init):
 	* ext/dv/gstdvdemux.c: (gst_dvdemux_class_init):
Index: gstdvdemux.c
RCS file: /cvs/gstreamer/gst-plugins-good/ext/dv/gstdvdemux.c,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -d -r1.33 -r1.34
--- gstdvdemux.c	8 Dec 2008 18:24:21 -0000	1.33
+++ gstdvdemux.c	8 Dec 2008 18:31:00 -0000	1.34
@@ -1166,11 +1166,14 @@
       /* we can't really (yet) do QoS */
     case GST_EVENT_NAVIGATION:
       /* no navigation either... */
-    default:
       res = FALSE;
+    default:
+      res = gst_pad_push_event (dvdemux->sinkpad, event);
+      event = NULL;
       break;
   }
-  gst_event_unref (event);
+  if (event)
+    gst_event_unref (event);
   gst_object_unref (dvdemux);

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/

_______________________________________________
gstreamer-cvs-verbose mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gstreamer-cvs-verbose