From fd803921c95a47111da1323acccbcc9bb8c71947 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Sat, 28 Dec 2013 12:39:25 +0100 Subject: [PATCH] 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. --- ext/opus/gstopusparse.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/ext/opus/gstopusparse.c b/ext/opus/gstopusparse.c index 4f030ae7cf..0f1bc97726 100644 --- a/ext/opus/gstopusparse.c +++ b/ext/opus/gstopusparse.c @@ -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;