зеркало из https://github.com/mozilla/gecko-dev.git
Bug 518659, fixing crash bustage due to bad merging
--HG-- extra : rebase_source : 2d614525fa131c43d79d983ce531d8c50908d17e
This commit is contained in:
Родитель
5e005621ac
Коммит
b5f3112586
|
@ -1353,8 +1353,8 @@ nsresult nsHTMLMediaElement::InitializeDecoderAsClone(nsMediaDecoder* aOriginal)
|
|||
|
||||
float duration = aOriginal->GetDuration();
|
||||
if (duration >= 0) {
|
||||
mDecoder->SetDuration(PRInt64(NS_round(duration * 1000)));
|
||||
mDecoder->SetSeekable(aOriginal->GetSeekable());
|
||||
decoder->SetDuration(PRInt64(NS_round(duration * 1000)));
|
||||
decoder->SetSeekable(aOriginal->GetSeekable());
|
||||
}
|
||||
|
||||
nsMediaStream* stream = originalStream->CloneData(decoder);
|
||||
|
|
Загрузка…
Ссылка в новой задаче