mirror of
https://github.com/mpv-player/mpv
synced 2025-03-25 04:38:01 +00:00
vf: Fix filter enabling logic for vf_uspp and vfs using lavc internals
Move vf_uspp from the list of filters depending on internal non-API FFmpeg code to the list of filters only depending on libavcodec normally - at least it doesn't need any internal headers, and I don't see other obvious unsafe non-API usage either. Change a leftover CONFIG_LIBAVCODEC_A test to the now correct CONFIG_LIBAVCODEC_INTERNALS to actually allow using the video filters requiring non-API libavcodec internals when --ffmpeg-source-dir was specified.
This commit is contained in:
parent
c3c0309eec
commit
15f812898f
@ -134,6 +134,7 @@ static const vf_info_t* const filter_list[]={
|
||||
&vf_info_lavc,
|
||||
&vf_info_lavcdeint,
|
||||
&vf_info_screenshot,
|
||||
&vf_info_uspp,
|
||||
#endif
|
||||
#ifdef CONFIG_ZR
|
||||
&vf_info_zrmjpeg,
|
||||
@ -180,9 +181,8 @@ static const vf_info_t* const filter_list[]={
|
||||
&vf_info_delogo,
|
||||
&vf_info_remove_logo,
|
||||
&vf_info_hue,
|
||||
#ifdef CONFIG_LIBAVCODEC_A
|
||||
#ifdef CONFIG_LIBAVCODEC_INTERNALS
|
||||
&vf_info_spp,
|
||||
&vf_info_uspp,
|
||||
&vf_info_fspp,
|
||||
&vf_info_qp,
|
||||
&vf_info_mcdeint,
|
||||
|
Loading…
Reference in New Issue
Block a user