|
From: <sl...@ke...> - 2009-01-16 13:37:10
|
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 <seb...@co...>
+
+ * 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 <wim...@co...>
* 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;
}
|