Commit 5acab641 authored by Wim Taymans's avatar Wim Taymans

theora/vorbis: use default pad handler

Use the default pad event handler because we are not supposed to pass on CAPS
events.
parent ec578684
...@@ -675,7 +675,7 @@ theora_dec_sink_event (GstPad * pad, GstEvent * event) ...@@ -675,7 +675,7 @@ theora_dec_sink_event (GstPad * pad, GstEvent * event)
break; break;
} }
default: default:
ret = gst_pad_push_event (dec->srcpad, event); ret = gst_pad_event_default (pad, event);
break; break;
} }
done: done:
......
...@@ -534,7 +534,7 @@ vorbis_dec_sink_event (GstPad * pad, GstEvent * event) ...@@ -534,7 +534,7 @@ vorbis_dec_sink_event (GstPad * pad, GstEvent * event)
break; break;
} }
default: default:
ret = gst_pad_push_event (dec->srcpad, event); ret = gst_pad_event_default (pad, event);
break; break;
} }
done: done:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment