git.cweiske.de
/
enigma2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6de231
)
fix vc1 streamtype detection
author
ghost
<andreas.monzner@multimedia-labs.de>
Sun, 9 Aug 2009 07:25:20 +0000
(09:25 +0200)
committer
ghost
<andreas.monzner@multimedia-labs.de>
Sun, 9 Aug 2009 07:25:47 +0000
(09:25 +0200)
lib/dvb/pmt.cpp
patch
|
blob
|
history
diff --git
a/lib/dvb/pmt.cpp
b/lib/dvb/pmt.cpp
index dc427aa15c1efe5741ce815f66b4cd4acd61a000..fb81fa4c3f45559892bb1b68d750a10b62d564f9 100644
(file)
--- a/
lib/dvb/pmt.cpp
+++ b/
lib/dvb/pmt.cpp
@@
-400,9
+400,9
@@
int eDVBServicePMTHandler::getProgramInfo(struct program &program)
case 0x56432d31: // == 'VC-1'
{
const AdditionalIdentificationInfoVector *vec = d->getAdditionalIdentificationInfo();
- if (vec->size() > 1 && (*vec)[
1
] == 0x01) // subdescriptor tag
+ if (vec->size() > 1 && (*vec)[
0
] == 0x01) // subdescriptor tag
{
- if ((*vec)[
2
] >= 0x90) // profile_level
+ if ((*vec)[
1
] >= 0x90) // profile_level
video.type = videoStream::vtVC1; // advanced profile
else
video.type = videoStream::vtVC1_SM; // simple main