diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2009-05-27 14:06:13 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2009-05-27 14:06:13 +0200 |
commit | db6f445620c98df8568ec421ce422f9bb5206324 (patch) | |
tree | e0abc44c014402481079734a4ace141da8f8914f /gst/gstutils.c | |
parent | 3bab12a3b05179a89194c887ac2cb6428e522c36 (diff) | |
download | gstreamer-db6f445620c98df8568ec421ce422f9bb5206324.tar.gz |
Revert "element: Set the originating pad as message source in gst_element_found_tags_for_pad ()"
This reverts commit bebfde75027e975b7e7c74c6358c5be83ea4ac9f.
This change shouldn't be done in a stable release series as
applications are actually expecting the sender to be an
GstElement. One example is totem.
Diffstat (limited to 'gst/gstutils.c')
-rw-r--r-- | gst/gstutils.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gst/gstutils.c b/gst/gstutils.c index 3b5c4de901..602822ce56 100644 --- a/gst/gstutils.c +++ b/gst/gstutils.c @@ -3081,9 +3081,11 @@ 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 (pad), list)); + gst_message_new_tag (GST_OBJECT (element), list)); } static void |