From 5acab641783a638498c0ee9cbaa47c38df815490 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Mon, 9 May 2011 15:37:09 +0200 Subject: [PATCH] theora/vorbis: use default pad handler Use the default pad event handler because we are not supposed to pass on CAPS events. --- ext/theora/gsttheoradec.c | 2 +- ext/vorbis/gstvorbisdec.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/theora/gsttheoradec.c b/ext/theora/gsttheoradec.c index 7265d6bc61..cc0f672103 100644 --- a/ext/theora/gsttheoradec.c +++ b/ext/theora/gsttheoradec.c @@ -675,7 +675,7 @@ theora_dec_sink_event (GstPad * pad, GstEvent * event) break; } default: - ret = gst_pad_push_event (dec->srcpad, event); + ret = gst_pad_event_default (pad, event); break; } done: diff --git a/ext/vorbis/gstvorbisdec.c b/ext/vorbis/gstvorbisdec.c index 45374eb559..cbce104a93 100644 --- a/ext/vorbis/gstvorbisdec.c +++ b/ext/vorbis/gstvorbisdec.c @@ -534,7 +534,7 @@ vorbis_dec_sink_event (GstPad * pad, GstEvent * event) break; } default: - ret = gst_pad_push_event (dec->srcpad, event); + ret = gst_pad_event_default (pad, event); break; } done: