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