mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-08 00:59:48 +00:00
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:
parent
dedb95dc6f
commit
fd803921c9
1 changed files with 0 additions and 5 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue