summaryrefslogtreecommitdiffstats
path: root/osdep/terminal-unix.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-12-02 21:08:38 +0100
committerwm4 <wm4@nowhere>2017-12-02 21:08:38 +0100
commitca29a5aa9b5bb38d43cce878131a61c0c0928b64 (patch)
tree3e33980f70c828c16348de231e63dc6b2029fb20 /osdep/terminal-unix.c
parent1d92a804d2a7b853e7eae19a3751ab1dd137c9a0 (diff)
downloadmpv-ca29a5aa9b5bb38d43cce878131a61c0c0928b64.tar.bz2
mpv-ca29a5aa9b5bb38d43cce878131a61c0c0928b64.tar.xz
vd_lavc: don't request native pixfmt with -copy and METHOD_INTERNAL
If the codec uses AV_CODEC_HW_CONFIG_METHOD_INTERNAL, and we're using the -copy method, then don't request the native pix_fmt. It might not have a AVFrame.hw_frames_ctx set, and we couldn't read back at all. On top of that, most of those decoders probably don't provide read-back when using such opaque formats anyway, while providing separate decoding modes to decode to RAM.
Diffstat (limited to 'osdep/terminal-unix.c')
0 files changed, 0 insertions, 0 deletions