Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[NetStream] Set bufferLength to non-zero when the stream starts

Fixes a regression at http://www.bbc.co.uk/news/
  • Loading branch information...
commit 36c1faa746b656c95b3269d583193e24c2f771e7 1 parent 64af503
@aajanki aajanki authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/scripting/flash/net/flashnet.cpp
View
4 src/scripting/flash/net/flashnet.cpp
@@ -1057,6 +1057,10 @@ ASFUNCTIONBODY(NetStream,play)
assert_and_throw(th->downloader==NULL);
+ //Until buffering is implemented, set a fake value. The BBC
+ //news player panics if bufferLength is smaller than 2.
+ th->bufferLength = 10;
+
if(!th->url.isValid())
{
//Notify an error during loading
Please sign in to comment.
Something went wrong with that request. Please try again.