[MPlayer-dev-eng] Re: using pthreads with mplayer

Andrea Palmatè andrea at amigasoft.net
Tue Jul 5 20:19:14 CEST 2005


At 13:37 05/07/2005, you wrote:
>lol, there are no pthreads in MPlayer, at all. Disregarding -cache, MPlayer
>is a completely single-threaded program. You're possibly thinking of
>MPlayerXP, which is a threaded version of MPlayer. The way it works is by
>making threads to decode the picture, and a single thread which each time
>shows a new frame on the VO. Whether this speeds this up or not is
>debatable, but not here.
Strange because i've found in the config.h i've found:

/* Define this if your system has pthreads */
#define HAVE_PTHREADS 1

and in config.mak

HAVE_PTHREADS = yes

searching thru the code i've found a pthread.c (in libavcodec) that is 
compiled on my system. so it is useless?
Bye
Andrea 




More information about the MPlayer-dev-eng mailing list