summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Reufer <thomas@reufer.ch>2014-03-16 20:52:25 +0100
committerThomas Reufer <thomas@reufer.ch>2014-03-16 20:52:25 +0100
commitf9b1bcff899ffb505ec3e65bed6aea22bf9d22a5 (patch)
treebeae9ccf272ee10384be8572309a0df2d534102a
parent2603aec07ecec0ebc85c825f4daedba520726e36 (diff)
downloadvdr-plugin-rpihddevice-f9b1bcff899ffb505ec3e65bed6aea22bf9d22a5.tar.gz
vdr-plugin-rpihddevice-f9b1bcff899ffb505ec3e65bed6aea22bf9d22a5.tar.bz2
fixed OMX shutdown when no stream has been played (reported by Klaus Schmidinger)
-rw-r--r--HISTORY1
-rw-r--r--omx.c3
2 files changed, 4 insertions, 0 deletions
diff --git a/HISTORY b/HISTORY
index f6f8c9d..b906a3a 100644
--- a/HISTORY
+++ b/HISTORY
@@ -2,6 +2,7 @@ VDR Plugin 'rpihddevice' Revision History
-----------------------------------------
- fixed:
+ - OMX shutdown when no stream has been played (reported by Klaus Schmidinger)
- displaying subtitles when OSD is active (fix by Klaus Schmidinger)
- default quality when grabbing jpeg image (reported by Klaus Schmidinger)
- suppress buffer stall when clock is halted
diff --git a/omx.c b/omx.c
index af08f0c..2ae7b8b 100644
--- a/omx.c
+++ b/omx.c
@@ -349,6 +349,9 @@ int cOmx::DeInit(void)
{
Cancel();
+ for (int i = 0; i < eNumTunnels; i++)
+ ilclient_disable_tunnel(&m_tun[i]);
+
ilclient_teardown_tunnels(m_tun);
ilclient_state_transition(m_comp, OMX_StateIdle);
ilclient_state_transition(m_comp, OMX_StateLoaded);