From 425b08fcc67c5c1e6880c172c9b854b5a2dfe39f Mon Sep 17 00:00:00 2001 From: faust3 Date: Fri, 4 Apr 2003 20:12:24 +0000 Subject: [PATCH] disable vf_bmovl for systems without posix select git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9833 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpcodecs/vf.c | 4 ++++ libmpcodecs/vf_bmovl.c | 5 +++++ 2 files changed, 9 insertions(+) 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