slomo gst-plugins-base: gst-plugins-base/ gst-plugins-base/gst-libs/gst/tag/

[email protected] Fri, 16 Jan 2009 03:40:16 -0800 (PST)
Newsgroups gmane.comp.video.gstreamer.cvs
Message-ID <[email protected]>
--===============3959697766468894727==

CVS Root:       /cvs/gstreamer
Module:         gst-plugins-base
Changes by:     slomo
Date:           Fri Jan 16 2009  11:40:16 UTC

Log message:
* gst-libs/gst/tag/gsttagdemux.c: (gst_tag_demux_srcpad_event):
Forward unknown events upstream to allow latency configuration.
Fixes bug #567960.

Modified files:
    .               : ChangeLog
    gst-libs/gst/tag: gsttagdemux.c

Links:
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-base/ChangeLog.diff?r1=1.4290&r2=1.4291
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-base/gst-libs/gst/tag/gsttagdemux.c.diff?r1=1.8&r2=1.9

====Begin Diffs====
Index: ChangeLog
===================================================================
RCS file: /cvs/gstreamer/gst-plugins-base/ChangeLog,v
retrieving revision 1.4290
retrieving revision 1.4291
diff -u -d -r1.4290 -r1.4291
--- ChangeLog	13 Jan 2009 14:47:18 -0000	1.4290
+++ ChangeLog	16 Jan 2009 11:40:00 -0000	1.4291
@@ -1,3 +1,9 @@
+2009-01-16  Sebastian Dröge  <[email protected]>
+
+	* gst-libs/gst/tag/gsttagdemux.c: (gst_tag_demux_srcpad_event):
+	Forward unknown events upstream to allow latency configuration.
+	Fixes bug #567960.
 2009-01-13  Wim Taymans  <[email protected]>
 
 	* gst/playback/gstplaybin2.c: (groups_set_locked_state):
Index: gsttagdemux.c
RCS file: /cvs/gstreamer/gst-plugins-base/gst-libs/gst/tag/gsttagdemux.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- gsttagdemux.c	31 Dec 2008 13:31:55 -0000	1.8
+++ gsttagdemux.c	16 Jan 2009 11:40:02 -0000	1.9
@@ -170,7 +170,7 @@
   if (etype == 0) {
     static const GEnumValue values[] = {
       {GST_TAG_DEMUX_RESULT_BROKEN_TAG, "GST_TAG_DEMUX_RESULT_BROKEN_TAG",
-            "broken-tag"},
+          "broken-tag"},
       {GST_TAG_DEMUX_RESULT_AGAIN, "GST_TAG_DEMUX_RESULT_AGAIN", "again"},
       {GST_TAG_DEMUX_RESULT_OK, "GST_TAG_DEMUX_RESULT_OK", "ok"},
       {0, NULL, NULL}
@@ -838,12 +838,14 @@
       break;
     }
     default:
-      /* FIXME: shouldn't we pass unknown and unhandled events upstream? */
+      res = gst_pad_push_event (tagdemux->priv->sinkpad, event);
+      event = NULL;
   }
   gst_object_unref (tagdemux);
-  gst_event_unref (event);
+  if (event)
+    gst_event_unref (event);
   return res;
 }


--===============3959697766468894727==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
--===============3959697766468894727==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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

--===============3959697766468894727==--