зеркало из https://github.com/mozilla/gecko-dev.git
Bug 468992. Use stored mURI to reopen a WAVE stream after we've finished playing it. r+sr=roc
This commit is contained in:
Родитель
782a3e2eac
Коммит
30e7416a2a
|
@ -1076,7 +1076,7 @@ nsWaveDecoder::Load(nsIURI* aURI, nsIChannel* aChannel, nsIStreamListener** aStr
|
||||||
mStream = new nsMediaStream();
|
mStream = new nsMediaStream();
|
||||||
NS_ENSURE_TRUE(mStream, NS_ERROR_OUT_OF_MEMORY);
|
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);
|
NS_ENSURE_SUCCESS(rv, rv);
|
||||||
|
|
||||||
rv = NS_NewThread(getter_AddRefs(mPlaybackThread));
|
rv = NS_NewThread(getter_AddRefs(mPlaybackThread));
|
||||||
|
|
Загрузка…
Ссылка в новой задаче