[MPlayer-dev-eng] using pthreads with mplayer

Jindrich Makovicka makovick at kmlinux.fjfi.cvut.cz
Tue Jul 5 18:07:42 CEST 2005


Oded Shimon wrote:
> On Tue, Jul 05, 2005 at 01:09:31PM -0100, Andrea Palmat? wrote:
> 
>>Hi all,
>>
>>Just for my knowledge. In which way pthreads are used on mplayer and how 
>>can they speedup it?
> 
> 
> 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.

Threads are used in v4l & v4l2, some audio output drivers and win32 API
emulation. But not any bit closer to the core.

-- 
Jindrich Makovicka




More information about the MPlayer-dev-eng mailing list