diff options
| author | ghost <andreas.monzner@multimedia-labs.de> | 2009-08-09 09:25:20 +0200 |
|---|---|---|
| committer | ghost <andreas.monzner@multimedia-labs.de> | 2009-08-09 09:25:47 +0200 |
| commit | b68433e2a86955a8a1bf5fa98fcb77110ed805bd (patch) | |
| tree | a3d32fd36baf6d4d22953edbb15baf0e772729e4 /lib/dvb | |
| parent | c6de231f8b5fbd3656d65a4a62b12cdfbd546171 (diff) | |
| download | enigma2-b68433e2a86955a8a1bf5fa98fcb77110ed805bd.tar.gz enigma2-b68433e2a86955a8a1bf5fa98fcb77110ed805bd.zip | |
fix vc1 streamtype detection
Diffstat (limited to 'lib/dvb')
| -rw-r--r-- | lib/dvb/pmt.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/dvb/pmt.cpp b/lib/dvb/pmt.cpp index dc427aa1..fb81fa4c 100644 --- 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 |
