mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 518659, fixing crash bustage due to bad merging
--HG-- extra : rebase_source : 2d614525fa131c43d79d983ce531d8c50908d17e
This commit is contained in:
parent
e9457239f9
commit
77949843dd
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user