Skip to content
  • Qi Hou's avatar
    audiodecoder: fix ctitical info assertion 'GST_IS_CAPS (dec->priv->ctx.caps)' failed · 659ba806
    Qi Hou authored and Tim-Philipp Müller's avatar Tim-Philipp Müller committed
    Matroskademux will send gap event when lag of video and audio is over 3 seconds.
    audiodecoder needs to handle gap event and set default output caps.
    Only audio info is set, while output caps is ignored. This cause the assertion failed.
    
    Need to fill output caps in gst_audio_decoder_negotiate_default_caps() with
    negotiated caps to avoid critical info printed when check it later.
    659ba806