mpv/filters
Philip Langdale 05e6813eb2 hwtransfer: handle constraints for hwdec with NULL supported_formats
Some hwdecs (eg: dxva) have no frames constraints and no static
supported_formats, which ends up segfaulting. This change fixes the
segfault, but also includes additional changes to avoid concluding that
direct output of hardware decoded video is impossible.

In the case where there are no frame constraints and no
supported_formats, we basically have no idea what the hardware actually
supports. Previously, we just tried to display the frame, but all the
work I did to detect incompatible formats causes this scenario to now
conclude that no formats can be displayed, and forces a HW download to
system memory.

I have made a couple of small changes to assume that direct display is
possible. If it's not, the VO will error out down the line, which is
what happened previously.
2023-10-22 10:22:04 -07:00
..
f_async_queue.c various: sort some standard headers 2023-10-20 21:31:09 +02:00
f_async_queue.h various: add missing include in header flles 2023-09-21 14:40:11 +00:00
f_auto_filters.c hwdec_vulkan: use bwdif_vulkan as deinterlacing auto filter 2023-05-28 15:46:05 -07:00
f_auto_filters.h filters/auto_filters: switch from scaletempo to scaletempo2 2021-02-15 00:13:03 +02:00
f_autoconvert.c autoconvert: destroy sub filter immediately if reconfiguration is needed 2023-08-26 10:07:55 -07:00
f_autoconvert.h vf_format: add gross mechanism for forcing scaler for testing 2020-04-13 15:56:27 +02:00
f_decoder_wrapper.c f_decoder_wrapper: change video-codec to show description or name 2023-10-14 12:30:46 +02:00
f_decoder_wrapper.h various: add missing include in header flles 2023-09-21 14:40:11 +00:00
f_demux_in.c f_demux_in: log EOF "recovery" 2020-08-27 18:40:57 +02:00
f_demux_in.h
f_hwtransfer.c hwtransfer: handle constraints for hwdec with NULL supported_formats 2023-10-22 10:22:04 -07:00
f_hwtransfer.h hwtransfer: implement support for hw->hw format conversion 2023-08-26 10:07:55 -07:00
f_lavfi.c af/vf-command: add ability to target a specific lavfi filter 2023-10-05 11:41:09 +02:00
f_lavfi.h sub/ass_mp: filters/f_lavfi: forward declare mp_log 2023-09-21 14:40:11 +00:00
f_output_chain.c output_chain: don't reset autoconvert on changes to unrelated filters 2023-08-26 10:07:55 -07:00
f_output_chain.h audio: redo video-sync=display-adrop 2020-05-23 04:04:46 +02:00
f_swresample.c options: transition options from OPT_FLAG to OPT_BOOL 2023-02-21 17:15:17 +00:00
f_swresample.h options: transition options from OPT_FLAG to OPT_BOOL 2023-02-21 17:15:17 +00:00
f_swscale.c f_swscale: do not reset color levels to default 2023-03-02 09:37:06 -05:00
f_swscale.h vf_format: add gross mechanism for forcing scaler for testing 2020-04-13 15:56:27 +02:00
f_utils.c osdep: rename MP_UNREACHABLE 2021-11-03 15:15:20 +01:00
f_utils.h various: fix typos 2022-04-25 09:07:18 -04:00
filter.c various: sort some standard headers 2023-10-20 21:31:09 +02:00
filter.h af/vf-command: add ability to target a specific lavfi filter 2023-10-05 11:41:09 +02:00
filter_internal.h various: fix typos 2023-03-28 19:29:44 +00:00
frame.c
frame.h
user_filters.c options: remove --vf-defaults and --af-defaults 2023-09-21 16:06:29 +00:00
user_filters.h audio: add scaletempo2 filter based on chromium 2020-07-27 00:57:22 +02:00