mpv/video/decode
wm4 ca29a5aa9b 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.
2017-12-02 21:08:38 +01:00
..
dec_video.c vd_lavc: move display mastering data stuff to mp_image 2017-10-30 21:07:48 +01:00
dec_video.h
vd.h
vd_lavc.c vd_lavc: don't request native pixfmt with -copy and METHOD_INTERNAL 2017-12-02 21:08:38 +01:00