summaryrefslogtreecommitdiff
path: root/dxr3output-audio.c
diff options
context:
space:
mode:
authorChristian Gmeiner <christian.gmeiner@gmail.com>2009-03-28 12:20:45 +0100
committerChristian Gmeiner <christian.gmeiner@gmail.com>2009-03-28 12:20:45 +0100
commitecc3dd09be579348e8a17e968415fecaaed47d84 (patch)
tree7cbc2db0ee8634c76ab208e403bed2ee67d3b308 /dxr3output-audio.c
parent7cc46900f0a8795bcd586eec983d7172ebe439b4 (diff)
downloadvdr-plugin-dxr3-ecc3dd09be579348e8a17e968415fecaaed47d84.tar.gz
vdr-plugin-dxr3-ecc3dd09be579348e8a17e968415fecaaed47d84.tar.bz2
rework pmExtern_THIS_SHOULD_BE_AVOIDED playmode
This commit removes all checks if the device is external released as it is not possible/wanted to set playmode to pmExtern_THIS_SHOULD_BE_AVOIDED and call play methods of device class. Also I removed DON and DOF svdr commands, as in my opinion these two commands are not useful at all. If somebody who needs them give me an example usage for these commands, I will bring them back.
Diffstat (limited to 'dxr3output-audio.c')
-rw-r--r--dxr3output-audio.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/dxr3output-audio.c b/dxr3output-audio.c
index b664737..0d2e11d 100644
--- a/dxr3output-audio.c
+++ b/dxr3output-audio.c
@@ -52,8 +52,7 @@ void cDxr3AudioOutThread::Action()
if (pNext) pts = pNext->GetPts();
- if ((pts && abs((int)pts-(int)SCR) > 30000) ||
- m_dxr3Device.IsExternalReleased())
+ if ((pts && abs((int)pts-(int)SCR) > 30000))
{
m_buffer.Clear();
m_bNeedResync = true;