mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-14 13:21:28 +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);
|
tags = gst_ffmpegdemux_read_tags (demux);
|
||||||
if (tags) {
|
if (tags) {
|
||||||
GST_INFO_OBJECT (demux, "global tags: %" GST_PTR_FORMAT, tags);
|
GST_INFO_OBJECT (demux, "global tags: %" GST_PTR_FORMAT, tags);
|
||||||
gst_element_post_message (GST_ELEMENT (demux),
|
gst_element_found_tags (GST_ELEMENT (demux), tags);
|
||||||
gst_message_new_tag (GST_OBJECT (demux), tags));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* now handle the stream tags */
|
/* now handle the stream tags */
|
||||||
|
|
Loading…
Reference in a new issue