gst/gstelement.c: Always set event source.

Original commit message from CVS:
* gst/gstelement.c: (gst_element_found_tags_for_pad):
Always set event source.
This commit is contained in:
Ronald S. Bultje 2005-03-30 10:55:35 +00:00
parent 2a7b791b32
commit 52f501457d
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2005-03-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
* gst/gstelement.c: (gst_element_found_tags_for_pad):
Always set event source.
2005-03-26 Ronald S. Bultje <rbultje@ronald.bitfreak.net> 2005-03-26 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
* gst/elements/gstfdsrc.c: (gst_fdsrc_class_init), * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),

View file

@ -3443,6 +3443,7 @@ gst_element_found_tags_for_pad (GstElement * element, GstPad * pad,
g_return_if_fail (list != NULL); g_return_if_fail (list != NULL);
tag_event = gst_event_new_tag (list); tag_event = gst_event_new_tag (list);
GST_EVENT_SRC (tag_event) = gst_object_ref (GST_OBJECT (element));
GST_EVENT_TIMESTAMP (tag_event) = timestamp; GST_EVENT_TIMESTAMP (tag_event) = timestamp;
gst_element_found_tags (element, gst_event_tag_get_list (tag_event)); gst_element_found_tags (element, gst_event_tag_get_list (tag_event));
if (GST_PAD_IS_USABLE (pad)) { if (GST_PAD_IS_USABLE (pad)) {