element: Set the originating pad as message source in gst_element_found_tags_for_pad ()

Fixes bug #582588.
This commit is contained in:
Sebastian Dröge 2009-05-14 12:25:20 +02:00
parent ae08561ae6
commit bebfde7502

View file

@ -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