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

Ivan Kalvachev ikalvachev at gmail.com
Tue Jul 5 22:17:47 CEST 2005


On 7/5/05, Michael Niedermayer <michaelni at gmx.at> wrote:
> Hi
> 
> On Tuesday 05 July 2005 17:32, Oded Shimon wrote:
> > On Tue, Jul 05, 2005 at 05:19:14PM -0100, Andrea Palmat? wrote:
> > > 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?

I think pthread is also used by win32 loader.

  Ivan Kalvachev
 iive




More information about the MPlayer-dev-eng mailing list