From 2d6bfedf62cd8d1da8796224c9b614b63ac4794e Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Sun, 26 Nov 2006 17:23:14 +0000 Subject: ext/theora/theoradec.c: Send events on the right pads, since they don't work very well if you send them in the wrong ... Original commit message from CVS: * ext/theora/theoradec.c: (theora_dec_src_query), (theora_dec_src_event), (theora_handle_data_packet), (theora_dec_chain): Send events on the right pads, since they don't work very well if you send them in the wrong direction. --- ext/theora/theoradec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/theora') diff --git a/ext/theora/theoradec.c b/ext/theora/theoradec.c index 7d801f9d..f2ab27a3 100644 --- a/ext/theora/theoradec.c +++ b/ext/theora/theoradec.c @@ -543,11 +543,11 @@ theora_dec_src_event (GstPad * pad, GstEvent * event) dec->earliest_time = timestamp + diff; GST_OBJECT_UNLOCK (dec); - res = gst_pad_event_default (dec->sinkpad, event); + res = gst_pad_event_default (pad, event); break; } default: - res = gst_pad_event_default (dec->sinkpad, event); + res = gst_pad_event_default (pad, event); break; } done: -- cgit v1.2.1