Subject: Disable v4l2 if pthreads are not available, fixes bug #1015. This patch is from the upstream MPlayer repository, coming from here: http://svn.mplayerhq.hu/mplayer/trunk/configure?r1=25946&r2=25975 --- configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Index: MPlayer-1.0rc2/configure =================================================================== --- MPlayer-1.0rc2.orig/configure +++ MPlayer-1.0rc2/configure @@ -3079,9 +3079,9 @@ if test "$_pthreads" = yes ; then _def_pthreads='#define HAVE_PTHREADS 1' _def_threads='#define HAVE_THREADS 1' else - _res_comment="v4l, vo_gl, ao_alsa, ao_nas, ao_macosx, win32 loader disabled" + _res_comment="v4l, v4l2, vo_gl, ao_alsa, ao_nas, ao_macosx, win32 loader disabled" _def_pthreads='#undef HAVE_PTHREADS' - _nas=no ; _tv_v4l1=no ; _macosx=no + _nas=no ; _tv_v4l1=no ; _tv_v4l2=no ; _macosx=no if not mingw32 ; then _win32dll=no fi