mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-01 17:23:59 +00:00
Bug 468992. Use stored mURI to reopen a WAVE stream after we've finished playing it. r+sr=roc
This commit is contained in:
parent
782a3e2eac
commit
30e7416a2a
@ -1076,7 +1076,7 @@ nsWaveDecoder::Load(nsIURI* aURI, nsIChannel* aChannel, nsIStreamListener** aStr
|
||||
mStream = new nsMediaStream();
|
||||
NS_ENSURE_TRUE(mStream, NS_ERROR_OUT_OF_MEMORY);
|
||||
|
||||
nsresult rv = mStream->Open(this, aURI, aChannel, aStreamListener);
|
||||
nsresult rv = mStream->Open(this, mURI, aChannel, aStreamListener);
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
|
||||
rv = NS_NewThread(getter_AddRefs(mPlaybackThread));
|
||||
|
Loading…
Reference in New Issue
Block a user