diff --git a/libmpcodecs/vf.c b/libmpcodecs/vf.c index e833065ad3..46ce5d9b8f 100644 --- a/libmpcodecs/vf.c +++ b/libmpcodecs/vf.c @@ -19,7 +19,9 @@ extern vf_info_t vf_info_vo; extern vf_info_t vf_info_rectangle; +#ifndef HAVE_NO_POSIX_SELECT extern vf_info_t vf_info_bmovl; +#endif extern vf_info_t vf_info_crop; extern vf_info_t vf_info_expand; extern vf_info_t vf_info_pp; @@ -65,7 +67,9 @@ extern vf_info_t vf_info_tfields; // list of available filters: static vf_info_t* filter_list[]={ &vf_info_rectangle, +#ifndef HAVE_NO_POSIX_SELECT &vf_info_bmovl, +#endif &vf_info_crop, &vf_info_expand, #ifdef USE_LIBAVCODEC diff --git a/libmpcodecs/vf_bmovl.c b/libmpcodecs/vf_bmovl.c index 8f5bad8f53..3db48d6dd9 100644 --- a/libmpcodecs/vf_bmovl.c +++ b/libmpcodecs/vf_bmovl.c @@ -66,6 +66,9 @@ #include "mp_image.h" #include "vf.h" #include "img_format.h" +#include "../config.h" + +#ifndef HAVE_NO_POSIX_SELECT #include "../mp_msg.h" @@ -455,3 +458,5 @@ vf_info_t vf_info_bmovl = { vf_open, NULL }; + +#endif