mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 844563 - Crash [@ mozilla::MediaDecoder::SetPreservesPitch]. r=kinetik
This commit is contained in:
parent
1aab17ac00
commit
a123bbbf99
@ -3581,7 +3581,9 @@ NS_IMETHODIMP nsHTMLMediaElement::GetMozPreservesPitch(bool* aPreservesPitch)
|
||||
NS_IMETHODIMP nsHTMLMediaElement::SetMozPreservesPitch(bool aPreservesPitch)
|
||||
{
|
||||
mPreservesPitch = aPreservesPitch;
|
||||
mDecoder->SetPreservesPitch(aPreservesPitch);
|
||||
if (mDecoder) {
|
||||
mDecoder->SetPreservesPitch(mPreservesPitch);
|
||||
}
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user