# HG changeset patch # User faust3 # Date 1049487144 0 # Node ID 298e261aecd7a6d8abd1a3eade0be352d774efa4 # Parent 0397b461f0fbb8e5c5eefe3468267b7410ce925b disable vf_bmovl for systems without posix select diff -r 0397b461f0fb -r 298e261aecd7 libmpcodecs/vf.c --- a/libmpcodecs/vf.c Fri Apr 04 20:02:53 2003 +0000 +++ b/libmpcodecs/vf.c Fri Apr 04 20:12:24 2003 +0000 @@ -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 @@ // 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 -r 0397b461f0fb -r 298e261aecd7 libmpcodecs/vf_bmovl.c --- a/libmpcodecs/vf_bmovl.c Fri Apr 04 20:02:53 2003 +0000 +++ b/libmpcodecs/vf_bmovl.c Fri Apr 04 20:12:24 2003 +0000 @@ -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_open, NULL }; + +#endif