diff options
author | Michael Smith <msmith@xiph.org> | 2006-11-26 17:23:14 +0000 |
---|---|---|
committer | Michael Smith <msmith@xiph.org> | 2006-11-26 17:23:14 +0000 |
commit | 2d6bfedf62cd8d1da8796224c9b614b63ac4794e (patch) | |
tree | 62145031fec59a13f3a5e65f3beb0089b2499653 | |
parent | fecfce245aa4e55d4879801eaae661315cbe9d58 (diff) | |
download | gst-plugins-bad-2d6bfedf62cd8d1da8796224c9b614b63ac4794e.tar.gz gst-plugins-bad-2d6bfedf62cd8d1da8796224c9b614b63ac4794e.tar.bz2 gst-plugins-bad-2d6bfedf62cd8d1da8796224c9b614b63ac4794e.zip |
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.
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | ext/theora/theoradec.c | 4 |
2 files changed, 10 insertions, 2 deletions
@@ -1,3 +1,11 @@ +2006-11-26 Michael Smith <msmith@fluendo.com> + + * 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 <ensonic@users.sf.net> * ext/audiofile/gstafsink.c: 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: |