gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] [bug #34759] youtube: choppyness/stuttering regression


From: Sandro Santilli
Subject: [Gnash-commit] [bug #34759] youtube: choppyness/stuttering regression
Date: Tue, 17 Jan 2012 09:22:54 +0000
User-agent: Mozilla/5.0 (X11; Linux i686; rv:9.0.1) Gecko/20100101 Firefox/9.0.1

Follow-up Comment #4, bug #34759 (project gnash):

There's code that relies on the heartbeat being 10ms. 
The code pushing audio samples to the audio card output buffer is one such
case. It is in NetStream_as.cpp. 

Long time ago, internal code requested their own interval value when
registering as callbacks. Then Benjamin (IIRC) dropped that argument because
it was unused at that time.

Actually, 10ms revealed as being a perfect time for pushing 44100hz samples
into the sink, somewhat confirming the 10ms delay requirement.

It would take changing the interface to register internal timers and threat
them accordingly from movie_root. Then NetStream should tweak the timer value
based on streaming media frame rate (may be higher or lower than the SWF
rate). The topmost hearbeat should then of course take into account the
changes which may occur during playback as an 1FPS SWF movie may load a 20FPS
video stream after some time thus requiring higher beat.

I hope I didn't overload you with informations, but this seems to be the best
I can do to help with the time I have available at the moment.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?34759>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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