• Qi Hou's avatar
    audiodecoder: fix ctitical info assertion 'GST_IS_CAPS (dec->priv->ctx.caps)' failed · 659ba806
    Qi Hou authored
    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.
gstaudiodecoder.c 108 KB