diff options
| author | Thomas Reufer <thomas@reufer.ch> | 2015-04-20 21:28:10 +0200 |
|---|---|---|
| committer | Thomas Reufer <thomas@reufer.ch> | 2015-04-21 06:24:23 +0200 |
| commit | 19c214381b9c006a218e31c6c3e4aaa695e6c98f (patch) | |
| tree | 644f858df3e2d4f471e7903a52be720119be57b9 | |
| parent | 3830998cf7aea24a8fe0889ff36641ba96ebb290 (diff) | |
| download | vdr-plugin-rpihddevice-19c214381b9c006a218e31c6c3e4aaa695e6c98f.tar.gz vdr-plugin-rpihddevice-19c214381b9c006a218e31c6c3e4aaa695e6c98f.tar.bz2 | |
always stop video decoder on SetPlayMode(pmNone)
| -rw-r--r-- | omxdevice.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/omxdevice.c b/omxdevice.c index ccc2a20..f800c11 100644 --- a/omxdevice.c +++ b/omxdevice.c @@ -157,9 +157,7 @@ bool cOmxDevice::SetPlayMode(ePlayMode PlayMode) { case pmNone: FlushStreams(true); - if (m_hasVideo) - m_omx->StopVideo(); - + m_omx->StopVideo(); m_hasAudio = false; m_hasVideo = false; m_videoCodec = cVideoCodec::eInvalid; |
