1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-28 20:53:54 +02:00
FFmpeg/fftools
Niklas Haas a526f0cc3a fftools/ffplay: fix YUV conversion mode
GL and Metal cache the state at time of texture creation. GLES2 and
Direct3D 11 use the state at time of the render copy call.

So the only way we can get the correct behavior consistently is by
making sure the state is set for both the upload *and* the draw call.
This probably isn't our bug to fix (upstream should make itself behave
consistently and also document its functions), but as it stands,
`ffplay` is misrendering BT.709 as BT.601 on my stock Linux system, and
that leaves a bad taste in my mouth.

Signed-off-by: Niklas Haas <git@haasn.dev>
2022-06-27 12:17:59 +02:00
..
cmdutils.c fftools: Remove MAX_PATH limit and switch to UTF-8 versions of fopen() and getenv() 2022-06-21 13:27:46 +03:00
cmdutils.h fftools/cmdutils: split common option handlers into their own file 2022-03-22 18:49:43 +01:00
ffmpeg_filter.c ffmpeg: convert to new channel layout-API 2022-03-15 09:42:46 -03:00
ffmpeg_hw.c
ffmpeg_mux.c ffmpeg: add option fps_mode 2022-06-11 09:47:27 +05:30
ffmpeg_opt.c fftools: Remove MAX_PATH limit and switch to UTF-8 versions of fopen() and getenv() 2022-06-21 13:27:46 +03:00
ffmpeg.c ffmpeg: add option fps_mode 2022-06-11 09:47:27 +05:30
ffmpeg.h ffmpeg: add option fps_mode 2022-06-11 09:47:27 +05:30
ffplay.c fftools/ffplay: fix YUV conversion mode 2022-06-27 12:17:59 +02:00
ffprobe.c fftools/ffprobe: report avio errors 2022-06-20 23:51:54 +02:00
fopen_utf8.h fftools/fopen_utf8: support long paths on Windows for fftools 2022-06-19 01:38:23 +03:00
Makefile fftools/ffmpeg: move some muxing-related code into a separate file 2022-04-13 12:07:54 +02:00
opt_common.c opt_common: note D and T type streams for completeness. 2022-05-20 23:42:23 +05:30
opt_common.h fftools/cmdutils: split common option handlers into their own file 2022-03-22 18:49:43 +01:00