From bebfde75027e975b7e7c74c6358c5be83ea4ac9f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 14 May 2009 12:25:20 +0200 Subject: [PATCH] element: Set the originating pad as message source in gst_element_found_tags_for_pad () Fixes bug #582588. --- gst/gstutils.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/gst/gstutils.c b/gst/gstutils.c index 602822c..3b5c4de 100644 --- a/gst/gstutils.c +++ b/gst/gstutils.c @@ -3081,11 +3081,9 @@ gst_element_found_tags_for_pad (GstElement * element, g_return_if_fail (list != NULL); gst_pad_push_event (pad, gst_event_new_tag (gst_tag_list_copy (list))); - /* FIXME 0.11: Set the pad as source to make it possible to detect for - * which pad the tags are actually found. - */ + gst_element_post_message (element, - gst_message_new_tag (GST_OBJECT (element), list)); + gst_message_new_tag (GST_OBJECT (pad), list)); } static void -- 2.7.4