• Niklas Haas's avatar
    lavfi/vf_libplacebo: fix side data stripping logic · ecf09764
    Niklas Haas authored
    This was accidentally comparing s->colorspace against out->colorspace,
    which is wrong - the intent was to compare in->colorspace against
    out->colorspace.
    
    We also forgot to strip mastering metadata. Finally, the order is sort
    of wrong - we should strip this side data *before* process_frames,
    because otherwise it may end up being seen and used by libplacebo.
    Signed-off-by: 's avatarNiklas Haas <git@haasn.dev>
    ecf09764
vf_libplacebo.c 32.6 KB