Commit 5613ec78 authored by Qi Hou's avatar Qi Hou

audiodecoder: Set output caps with negotiated caps to avoid critical info printed.

Need to fill output caps with negotiated caps in gst_audio_decoder_negotiate_default_caps()
to avoid critical info printed when check it later in gst_audio_decoder_negotiate_default().
Signed-off-by: Qi Hou's avatarHou Qi <qi.hou@nxp.com>
parent 8478aa7a
Pipeline #57413 passed with stages
in 71 minutes and 47 seconds
......@@ -2195,11 +2195,11 @@ gst_audio_decoder_negotiate_default_caps (GstAudioDecoder * dec)
GST_OBJECT_LOCK (dec);
dec->priv->ctx.info = info;
dec->priv->ctx.caps = caps;
GST_OBJECT_UNLOCK (dec);
GST_INFO_OBJECT (dec,
"Chose default caps %" GST_PTR_FORMAT " for initial gap", caps);
gst_caps_unref (caps);
return TRUE;
......
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