From 52f501457d862cd619cc5f850e6620dc94e4a6a5 Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Wed, 30 Mar 2005 10:55:35 +0000 Subject: [PATCH] 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. --- ChangeLog | 5 +++++ gst/gstelement.c | 1 + 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index 607822f497..d185c54bc9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-03-30 Ronald S. Bultje + + * gst/gstelement.c: (gst_element_found_tags_for_pad): + Always set event source. + 2005-03-26 Ronald S. Bultje * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init), diff --git a/gst/gstelement.c b/gst/gstelement.c index f9b9c59d30..53098cfa37 100644 --- a/gst/gstelement.c +++ b/gst/gstelement.c @@ -3443,6 +3443,7 @@ gst_element_found_tags_for_pad (GstElement * element, GstPad * pad, g_return_if_fail (list != NULL); 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_element_found_tags (element, gst_event_tag_get_list (tag_event)); if (GST_PAD_IS_USABLE (pad)) {