aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/ac3enc_template.c
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.dev>2024-03-25 14:37:15 +0100
committerNiklas Haas <git@haasn.dev>2024-09-12 19:13:21 +0200
commitca77fc21774daac141664818db871d9df493eb3a (patch)
treedc2c6d943e16de463a9f0efe941cb775e7a82e41 /libavcodec/ac3enc_template.c
parentda80ee21ca91f4d9a09cac91c05bb242b7c7a9af (diff)
downloadffmpeg-ca77fc21774daac141664818db871d9df493eb3a.tar.gz
avfilter: fix YUV colorspace negotiation for YUVJ
Ironically, despite being introduced to make YUVJ unnecessary, the new YUV negotiation logic failed to actually negotiate YUVJ formats themselves correctly, leading to errors when passing YUVJ frames into a filter graph. (They were effectively treated like RGB or Grayscale formats, rather than as forced-full-range YUV, and hence did not have their colorspace matrix correctly negotiated) Fix this by splitting off the YUVJ check from ff_fmt_is_regular_yuv(). Obviously, we can trivially undo this change again once YUVJ is actually deleted from the codebase. Fixes: #11179
Diffstat (limited to 'libavcodec/ac3enc_template.c')
0 files changed, 0 insertions, 0 deletions