mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 761786 - fix media playback crash when using omx-plugin and reloading videos - r=edwin
This commit is contained in:
parent
d90bbfc34b
commit
d8fc457685
@ -191,6 +191,14 @@ OmxDecoder::~OmxDecoder()
|
||||
{
|
||||
ReleaseVideoBuffer();
|
||||
ReleaseAudioBuffer();
|
||||
|
||||
if (mVideoSource.get()) {
|
||||
mVideoSource->stop();
|
||||
}
|
||||
|
||||
if (mAudioSource.get()) {
|
||||
mAudioSource->stop();
|
||||
}
|
||||
}
|
||||
|
||||
class AutoStopMediaSource {
|
||||
|
Loading…
Reference in New Issue
Block a user