mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
gst/asfdemux/gstasfdemux.c: signal the new tags before giving up the reference
Original commit message from CVS: * gst/asfdemux/gstasfdemux.c: (gst_asf_demux_process_comment): signal the new tags before giving up the reference
This commit is contained in:
parent
130ee665bf
commit
8f3d552725
2 changed files with 9 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
|||
2004-05-17 Benjamin Otte <otte@gnome.org>
|
||||
|
||||
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_process_comment):
|
||||
signal the new tags before giving up the reference
|
||||
|
||||
2004-05-17 Benjamin Otte <in7y118@public.uni-hamburg.de>
|
||||
|
||||
* ext/shout2/gstshout2.c:
|
||||
|
|
|
@ -569,9 +569,12 @@ gst_asf_demux_process_comment (GstASFDemux * asf_demux, guint64 * obj_size)
|
|||
|
||||
if (have_tags) {
|
||||
GstElement *element = GST_ELEMENT (asf_demux);
|
||||
GstEvent *event = gst_event_new_tag (taglist);
|
||||
GstEvent *event;
|
||||
const GList *padlist;
|
||||
|
||||
gst_element_found_tags (element, taglist);
|
||||
event = gst_event_new_tag (taglist);
|
||||
|
||||
for (padlist = gst_element_get_pad_list (element);
|
||||
padlist != NULL; padlist = padlist->next) {
|
||||
if (GST_PAD_IS_SRC (padlist->data) && GST_PAD_IS_USABLE (padlist->data)) {
|
||||
|
@ -580,8 +583,6 @@ gst_asf_demux_process_comment (GstASFDemux * asf_demux, guint64 * obj_size)
|
|||
}
|
||||
}
|
||||
|
||||
gst_element_found_tags (element, taglist);
|
||||
|
||||
gst_event_unref (event);
|
||||
} else {
|
||||
gst_tag_list_free (taglist);
|
||||
|
|
Loading…
Reference in a new issue