aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/vdpau.h
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.dev>2024-01-12 09:16:16 +0100
committerNiklas Haas <git@haasn.dev>2024-02-13 19:30:14 +0100
commitd2ae2aad8c6731ea5a5e6a4891fbb4fe17a77665 (patch)
tree500c89283abc08455219f2aa9ff05bf1953e2962 /libavcodec/vdpau.h
parent2303bf32327b94c25e1cbd78f87a32de05d48bc6 (diff)
downloadffmpeg-d2ae2aad8c6731ea5a5e6a4891fbb4fe17a77665.tar.gz
avfilter/buffersrc: allow promoting color range to MPEG
Otherwise, passing an UNSPECIFIED frame to am MPEG-only filter graph would trigger insertion of an unnecessary vf_scale filter, which would perform a memcpy to convert between the two. This is safe to do because unspecified YUV frames are already universally assumed to be MPEG range, in particular by swscale.
Diffstat (limited to 'libavcodec/vdpau.h')
0 files changed, 0 insertions, 0 deletions