From 508ab716b004a3079ee15791bfbbe07e112fcdca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Tue, 28 Jul 2009 23:40:31 +0100 Subject: [PATCH] ffmpegdemux: use gst_element_found_tags() for global tags So we get a message on the bus *and* tag events pushed downstream. --- ext/ffmpeg/gstffmpegdemux.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ext/ffmpeg/gstffmpegdemux.c b/ext/ffmpeg/gstffmpegdemux.c index 6912de3603..0b9fa1914b 100644 --- a/ext/ffmpeg/gstffmpegdemux.c +++ b/ext/ffmpeg/gstffmpegdemux.c @@ -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 */