From d271b3664132ee8ebefb5c536f2b74409b05c895 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Sat, 6 Mar 2004 17:31:59 +0000 Subject: [PATCH] signal serial Original commit message from CVS: signal serial --- ChangeLog | 5 +++++ ext/ogg/gstoggdemux.c | 3 +++ 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index 4f003862ef..794fba0867 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-03-06 Thomas Vander Stichele + + * ext/ogg/gstoggdemux.c: (gst_ogg_pad_new): + signal serial + 2004-03-06 Thomas Vander Stichele * ext/vorbis/vorbis.c: (plugin_init): diff --git a/ext/ogg/gstoggdemux.c b/ext/ogg/gstoggdemux.c index 576854b1bf..a125c38f7b 100644 --- a/ext/ogg/gstoggdemux.c +++ b/ext/ogg/gstoggdemux.c @@ -599,6 +599,7 @@ static GstOggPad * gst_ogg_pad_new (GstOggDemux *ogg, int serial) { GstOggPad *ret = g_new0 (GstOggPad, 1); + GstTagList *list = gst_tag_list_new (); ret->serial = serial; if (ogg_stream_init (&ret->stream, serial) != 0) { @@ -606,6 +607,8 @@ gst_ogg_pad_new (GstOggDemux *ogg, int serial) g_free (ret); return NULL; } + gst_tag_list_add (list, GST_TAG_MERGE_REPLACE, GST_TAG_SERIAL, serial, NULL); + gst_element_found_tags (GST_ELEMENT (ogg), list); GST_LOG_OBJECT (ogg, "created new ogg src %p for stream with serial %d", ret, serial); return ret;