summaryrefslogtreecommitdiffstats
path: root/video/vt.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-02-17 13:54:17 +0100
committerwm4 <wm4@nowhere>2017-02-17 14:14:22 +0100
commit2b5577901d43841fcb7930db62ff881becbcc4de (patch)
tree3cff406a0384be62580ad2c08a9dacc72bc7207f /video/vt.c
parentb5bbcc9f930eaf61e149a6cd7cc61712107f50ed (diff)
downloadmpv-2b5577901d43841fcb7930db62ff881becbcc4de.tar.bz2
mpv-2b5577901d43841fcb7930db62ff881becbcc4de.tar.xz
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.
Diffstat (limited to 'video/vt.c')
0 files changed, 0 insertions, 0 deletions