[MPlayer-dev-eng] [PATCH] make teletext dependant of pthreads

Diego Biurrun diego at biurrun.de
Fri Sep 14 11:11:15 CEST 2007


On Sun, Sep 09, 2007 at 01:34:25AM +0700, Vladimir Voroshilov wrote:
> Teletext uses pthreads in it's code.
> This wasn't an issue because v4l and v42 already denendant of above lib.
> 
> But dshow driver can be compiled
> without pthreads support.
> That is why i suggest to make teletext to be dependant of pthreads.
> 
> Diego, ok to apply?
> 
> --- mplayer/configure	(revision 24369)
> +++ mplayer/configure	(working copy)
> @@ -6825,7 +6854,7 @@
>    _tv_teletext=no
>    if test "$_freetype" = yes ; then
>      if test "$_tv_v4l2" = yes || test "$_v4l" = yes ; then
> -      _tv_teletext=yes
> +      test "$_pthreads" = yes && _tv_teletext=yes

I think it's cleaner to merge the pthreads into the line with the
freetype check, otherwise patch OK.

Diego



More information about the MPlayer-dev-eng mailing list