From 2d6bfedf62cd8d1da8796224c9b614b63ac4794e Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Sun, 26 Nov 2006 17:23:14 +0000 Subject: [PATCH] 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. --- ChangeLog | 8 ++++++++ ext/theora/theoradec.c | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 529ebb1253..df7f1523bf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2006-11-26 Michael Smith + + * 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. + 2006-11-24 Stefan Kost * ext/audiofile/gstafsink.c: diff --git a/ext/theora/theoradec.c b/ext/theora/theoradec.c index 7d801f9d86..f2ab27a362 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: -- 2.34.1