Mercurial > mplayer.hg
changeset 9832:298e261aecd7
disable vf_bmovl for systems without posix select
author | faust3 |
---|---|
date | Fri, 04 Apr 2003 20:12:24 +0000 |
parents | 0397b461f0fb |
children | 9cdbcd86c176 |
files | libmpcodecs/vf.c libmpcodecs/vf_bmovl.c |
diffstat | 2 files changed, 9 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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
--- 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