HEVCDecoderConfigurationRecord gives incorrect codec string when NAL units have emulation_prevention_three_byte #312
Labels
status: archived
Archived and locked; will not be updated
type: bug
Something isn't working correctly
Milestone
System info
Operating System: Ubuntu 16.04
Shaka Packager Version: 22c758e
Issue and steps to reproduce the problem
Use EsParserH265 to parse HEVC ES (extracted from TS packets).
Check codec_string() from VideoStreamInfo from NewStreamInfoCB.
The output codec string is wrong and seems it didn't handle emulation_prevention_three_byte (0x000003).
What is the expected result?
Give me a correct codec string, eg. hev1.1.6.L150.90
What happens instead?
It gave me hev1.1.C0000006.L0.0.90.0.0.3
0xC is exactly the inversion of 0x3.
Profile became L0 because it read the wrong byte.
And there was one extra 0x3 in the end.
<Please attach the input files or email to shaka-packager-issues@google.com.>
Attached VPS for reference.

The text was updated successfully, but these errors were encountered: