summaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
authorMichael Smith <msmith@xiph.org>2006-11-26 17:23:14 +0000
committerMichael Smith <msmith@xiph.org>2006-11-26 17:23:14 +0000
commit2d6bfedf62cd8d1da8796224c9b614b63ac4794e (patch)
tree62145031fec59a13f3a5e65f3beb0089b2499653 /ext
parentfecfce245aa4e55d4879801eaae661315cbe9d58 (diff)
downloadgst-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.
Diffstat (limited to 'ext')
-rw-r--r--ext/theora/theoradec.c4
1 files changed, 2 insertions, 2 deletions
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: