mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
ffmpegdemux: use gst_element_found_tags() for global tags
So we get a message on the bus *and* tag events pushed downstream.
This commit is contained in:
parent
d917f59a84
commit
508ab716b0
1 changed files with 1 additions and 2 deletions
|
@ -1218,8 +1218,7 @@ gst_ffmpegdemux_open (GstFFMpegDemux * demux)
|
|||
tags = gst_ffmpegdemux_read_tags (demux);
|
||||
if (tags) {
|
||||
GST_INFO_OBJECT (demux, "global tags: %" GST_PTR_FORMAT, tags);
|
||||
gst_element_post_message (GST_ELEMENT (demux),
|
||||
gst_message_new_tag (GST_OBJECT (demux), tags));
|
||||
gst_element_found_tags (GST_ELEMENT (demux), tags);
|
||||
}
|
||||
|
||||
/* now handle the stream tags */
|
||||
|
|
Loading…
Reference in a new issue