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: