mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-23 07:38:16 +00:00
gst/gstutils.c: Add FIXME for 0.11 to set the pad as message source and not the element. Otherwise it's impossible to...
Original commit message from CVS: * gst/gstutils.c: (gst_element_found_tags_for_pad): Add FIXME for 0.11 to set the pad as message source and not the element. Otherwise it's impossible to detect for which pad the tags were found without adding an event probe or something similar to the pad.
This commit is contained in:
parent
2877f7de08
commit
33239dded7
2 changed files with 11 additions and 0 deletions
|
@ -1,3 +1,11 @@
|
|||
2008-12-17 Sebastian Dröge <sebastian.droege@collabora.co.uk>
|
||||
|
||||
* gst/gstutils.c: (gst_element_found_tags_for_pad):
|
||||
Add FIXME for 0.11 to set the pad as message source and not
|
||||
the element. Otherwise it's impossible to detect for which
|
||||
pad the tags were found without adding an event probe
|
||||
or something similar to the pad.
|
||||
|
||||
2008-12-16 Wim Taymans <wim.taymans@collabora.co.uk>
|
||||
|
||||
* docs/faq/general.xml:
|
||||
|
|
|
@ -3230,6 +3230,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));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue