• James Almer's avatar
    avcodec/av1_metadata: filter parameter sets in packet side data · 3921eed3
    James Almer authored
    Extradata included in packet side data is meant to replace the codec context
    extradata. So when muxing for example to MP4 without this change and if
    extradata is present in a packet side data, the result will be that the
    parameter sets present in keyframes will be filtered, but the parameter sets
    ultimately included in the av1C box will not.
    
    This is especially important for AV1 as both currently supported encoders don't
    export the Sequence Header in the codec context extradata, but as packet side
    data instead.
    Signed-off-by: 's avatarJames Almer <jamrial@gmail.com>
    3921eed3
av1_metadata_bsf.c 11.3 KB