• Edward Hervey's avatar
    Only use valid SampleFormat for audio encoders/decoders. · 9fc91546
    Edward Hervey authored
    For a given AVCodec, when the sample_fmts field is non-NULL, that means that
    that codec can only handle a specific set of SampleFormat.
    With this patch, we now look for its presence and create the proper pad template
    caps.
    Fixes #569441
    9fc91546
gstffmpegcodecmap.c 102 KB