Commit d271b366 authored by Thomas Vander Stichele's avatar Thomas Vander Stichele
Browse files

signal serial

Original commit message from CVS:
signal serial
parent 7c78fde4
2004-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_new):
signal serial
2004-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
* ext/vorbis/vorbis.c: (plugin_init):
......
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment