diff options
author | Nicolas Gaullier <nicolas.gaullier@cji.paris> | 2024-04-04 19:05:14 +0200 |
---|---|---|
committer | Niklas Haas <git@haasn.dev> | 2024-04-17 22:17:56 +0200 |
commit | 376b3d53c54791c1be58709df4303ba2b90851bc (patch) | |
tree | 540439b2a286cbfafe3d500e6c1efb8302816c06 /doc/examples/encode_audio.c | |
parent | 38c322681e9715b288172eaed1e90205aa46e969 (diff) | |
download | ffmpeg-376b3d53c54791c1be58709df4303ba2b90851bc.tar.gz |
avfilter/vf_colorspace: use colorspace negotiation API
Fixes a regression due to the fact that the colorspace filter does
not use the new API introduced by 8c7934f73ab6c568acaa.
The scale filter uses it since 45e09a30419cc2a7251e, and the setparams
filter since 3bf80df3ccd32aed23f0.
Example:
ffprobe -f lavfi yuvtestsrc,setparams=color_primaries=bt470bg:color_trc=
bt470bg:colorspace=bt470bg,colorspace=bt709:range=tv,scale,showinfo
Before:
color_range:unknown color_space:bt470bg ...
After:
color_range:tv color_space:bt709 ...
Signed-off-by: Nicolas Gaullier <nicolas.gaullier@cji.paris>
Signed-off-by: Niklas Haas <git@haasn.dev>
Diffstat (limited to 'doc/examples/encode_audio.c')
0 files changed, 0 insertions, 0 deletions