X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=blobdiff_plain;f=lib%2Fdvb%2Fdecoder.cpp;h=97cb99d4eccd71f5ae17b34ac7d20506e89df4ba;hp=8ed9f43f5fed4c56788547734b3da485fbe8b45a;hb=0ba26361a853f91ebc36c9c11f6771df74008535;hpb=c72fb90523ab709569016548763d872ae53327e3 diff --git a/lib/dvb/decoder.cpp b/lib/dvb/decoder.cpp index 8ed9f43..97cb99d 100644 --- a/lib/dvb/decoder.cpp +++ b/lib/dvb/decoder.cpp @@ -206,6 +206,10 @@ int eDVBAudio::startPid(int pid, int type) case aDTSHD: bypass = 0x10; break; + case aDDP: + bypass = 0x22; + break; + } eDebugNoNewLine("AUDIO_SET_BYPASS(%d) - ", bypass); @@ -1302,9 +1306,10 @@ RESULT eTSMPEGDecoder::showSinglePic(const char *filename) if (f >= 0) { struct stat s; + size_t written=0; fstat(f, &s); if (m_video_clip_fd == -1) - m_video_clip_fd = open("/dev/dvb/adapter0/video0", O_WRONLY|O_NONBLOCK); + m_video_clip_fd = open("/dev/dvb/adapter0/video0", O_WRONLY); if (m_video_clip_fd >= 0) { bool seq_end_avail = false;