gnash-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnash-dev] Stuttering Playback due to Blocking Reads


From: Benjamin Wolsey
Subject: Re: [Gnash-dev] Stuttering Playback due to Blocking Reads
Date: Thu, 24 Sep 2009 12:54:15 +0200

> Playback blockage may be due to several reasons, originating from one
> of these two:
> 
>       1) buffer is below the user-specified trashold 
>       2) gnash main thread itself is blocked
> 

The blockage we are talking about in the bug is of the first type. It's
caused because various places in the FLV parser make small reads or
seeks of 1 to 12 bytes for various reasons, and this calls a read that
blocks media parsing (or something) until the next segment of data is
received. It's a design flaw in the parser, which really should get a
buffer to read and not attempt to seek outside it.

The reason it doesn't always stutter there is that the seek only blocks
if it happens to be close enough to the end of the buffered data.

--
Use Gnash, the GNU Flash Player!
http://www.gnu.org/software/gnash/

Benjamin Wolsey, Software Developer - http://benjaminwolsey.de

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


reply via email to

[Prev in Thread] Current Thread [Next in Thread]