opusparse: Don't send caps in GstBaseParse::start()

This is too early and will confuse the event order. The other
code that sets the caps is at the right position and does it
properly already.
This commit is contained in:
Sebastian Dröge 2013-12-28 12:39:25 +01:00
parent dedb95dc6f
commit fd803921c9

View file

@ -107,11 +107,6 @@ static gboolean
gst_opus_parse_start (GstBaseParse * base)
{
GstOpusParse *parse = GST_OPUS_PARSE (base);
GstCaps *caps;
caps = gst_caps_new_empty_simple ("audio/x-opus");
gst_pad_set_caps (GST_BASE_PARSE_SRC_PAD (GST_BASE_PARSE (parse)), caps);
gst_caps_unref (caps);
parse->header_sent = FALSE;
parse->next_ts = 0;