theora/vorbis: use default pad handler

Use the default pad event handler because we are not supposed to pass on CAPS
events.
This commit is contained in:
Wim Taymans 2011-05-09 15:37:09 +02:00
parent ec57868488
commit 5acab64178
2 changed files with 2 additions and 2 deletions

View file

@ -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:

View file

@ -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: