summaryrefslogtreecommitdiffstats
path: root/patches/MPlayer-1.0rc2/generic/MPlayer-1.0rc2-v4l2-tv-pthread-r25975.diff
blob: c64fdef570a126b1efd975a17cc7941b8087c948 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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