mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-05 05:52:37 +00:00
signal serial
Original commit message from CVS: signal serial
This commit is contained in:
parent
7c78fde400
commit
d271b36641
2 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
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>
|
2004-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||||
|
|
||||||
* ext/vorbis/vorbis.c: (plugin_init):
|
* ext/vorbis/vorbis.c: (plugin_init):
|
||||||
|
|
|
@ -599,6 +599,7 @@ static GstOggPad *
|
||||||
gst_ogg_pad_new (GstOggDemux *ogg, int serial)
|
gst_ogg_pad_new (GstOggDemux *ogg, int serial)
|
||||||
{
|
{
|
||||||
GstOggPad *ret = g_new0 (GstOggPad, 1);
|
GstOggPad *ret = g_new0 (GstOggPad, 1);
|
||||||
|
GstTagList *list = gst_tag_list_new ();
|
||||||
|
|
||||||
ret->serial = serial;
|
ret->serial = serial;
|
||||||
if (ogg_stream_init (&ret->stream, serial) != 0) {
|
if (ogg_stream_init (&ret->stream, serial) != 0) {
|
||||||
|
@ -606,6 +607,8 @@ gst_ogg_pad_new (GstOggDemux *ogg, int serial)
|
||||||
g_free (ret);
|
g_free (ret);
|
||||||
return NULL;
|
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);
|
GST_LOG_OBJECT (ogg, "created new ogg src %p for stream with serial %d", ret, serial);
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
|
|
Loading…
Reference in a new issue