mpv/video
wm4 2b5577901d videotoolbox: remove weird format-negotiation between VO and decoder
Originally, there was probably some sort of intention to restrict it to
formats supported by the interop, or something. But in the end it was
overcomplicated nonsense.

In the future, we could use mp_hwdec_ctx.supported_formats or other
mechanisms to handle this in a better way.

mp_hwdec_ctx.ctx is not set to a dummy pointer - hwdec_devices_load() is
only used to detect whether to vo_opengl interop is present, and the
common hwdec code expects that the .ctx field is not NULL.

This also changes videotoolbox-copy to use --videotoolbox-format,
instead of the FFmpeg-set default.
2017-02-17 14:14:22 +01:00
..
decode
filter
out
csputils.c
csputils.h
fmt-conversion.c
fmt-conversion.h
gpu_memcpy.c
gpu_memcpy.h
hwdec.c
hwdec.h
image_writer.c
image_writer.h
img_format.c
img_format.h
img_fourcc.h
mp_image.c
mp_image.h
mp_image_pool.c
mp_image_pool.h
sws_utils.c
sws_utils.h
vaapi.c
vaapi.h
vdpau.c
vdpau.h
vdpau_functions.inc
vdpau_mixer.c
vdpau_mixer.h
vt.c
vt.h