diff options
author | Christian Gmeiner <christian.gmeiner@gmail.com> | 2009-12-08 13:42:19 +0100 |
---|---|---|
committer | Christian Gmeiner <christian.gmeiner@gmail.com> | 2009-12-08 13:42:19 +0100 |
commit | 9d2e4e18c195c28c6ca0938f660c8ccd90f45ca5 (patch) | |
tree | 610cb574d54d18e8356f9c0d9810ce3281f812f5 | |
parent | ee8062d3bed859807733aba72821df65948765d6 (diff) | |
download | vdr-plugin-dxr3-9d2e4e18c195c28c6ca0938f660c8ccd90f45ca5.tar.gz vdr-plugin-dxr3-9d2e4e18c195c28c6ca0938f660c8ccd90f45ca5.tar.bz2 |
do not set audiomode in PlayAudio
-rw-r--r-- | dxr3device.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/dxr3device.c b/dxr3device.c index 81936b8..8c7f1df 100644 --- a/dxr3device.c +++ b/dxr3device.c @@ -204,11 +204,6 @@ int cDxr3Device::PlayAudio(const uchar *Data, int Length, uchar Id) return Length; } - bool isAc3 = ((Id & 0xF0) == 0x80) || Id == 0xbd; - - if (isAc3 && !audioOut->isAudioModeAC3()) - audioOut->setAudioMode(iAudio::Ac3); - if (m_PlayMode == pmAudioOnly) { return m_DemuxDevice.DemuxAudioPes(Data, Length); } else { |