git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tools/enigma2.sh.in: add support for libpassthrough, add hook to execute scripts...
[enigma2.git]
/
lib
/
dvb
/
decoder.cpp
diff --git
a/lib/dvb/decoder.cpp
b/lib/dvb/decoder.cpp
index 88cd3ee1e91a27a927b4d1922ef497b8ae845901..a89f72bbb69b021f890edabaf0ab1a03b3820bf6 100644
(file)
--- 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 aLPCM:
bypass = 6;
break;
+ case aDTSHD:
+ bypass = 0x10;
+ break;
}
eDebugNoNewLine("AUDIO_SET_BYPASS(%d) - ", bypass);
}
eDebugNoNewLine("AUDIO_SET_BYPASS(%d) - ", bypass);
@@
-1299,9
+1302,10
@@
RESULT eTSMPEGDecoder::showSinglePic(const char *filename)
if (f >= 0)
{
struct stat s;
if (f >= 0)
{
struct stat s;
+ size_t written=0;
fstat(f, &s);
if (m_video_clip_fd == -1)
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;
if (m_video_clip_fd >= 0)
{
bool seq_end_avail = false;