X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=blobdiff_plain;f=lib%2Fdvb%2Fdecoder.cpp;h=8ed9f43f5fed4c56788547734b3da485fbe8b45a;hp=09350698ee055791f2b6d4e88968216d13c5e120;hb=41a34ba7cc10000dbc950203aed2285879b5b11d;hpb=ea94103d6d26282e98846e54122b04792c2c90fd diff --git a/lib/dvb/decoder.cpp b/lib/dvb/decoder.cpp index 0935069..8ed9f43 100644 --- a/lib/dvb/decoder.cpp +++ b/lib/dvb/decoder.cpp @@ -203,6 +203,9 @@ int eDVBAudio::startPid(int pid, int type) case aLPCM: bypass = 6; break; + case aDTSHD: + bypass = 0x10; + break; } eDebugNoNewLine("AUDIO_SET_BYPASS(%d) - ", bypass); @@ -222,9 +225,6 @@ int eDVBAudio::startPid(int pid, int type) void eDVBAudio::stop() { -#if HAVE_DVB_API_VERSION > 2 - flush(); -#endif eDebugNoNewLine("AUDIO_STOP - "); if (::ioctl(m_fd, AUDIO_STOP) < 0) eDebug("failed (%m)"); @@ -604,7 +604,7 @@ RESULT eDVBVideo::connectEvent(const Slot1