Yet Another Media Infrastructure. it is core part of media codec with hardware acceleration, it is yummy to your video experience on Linux like platform.
Apache License 2.0
146
stars
106
forks
source link
add conner test case for YamiParser::NalReader::getPos, fix the issue #868
getPos is complex when we have epb, if we do not reach the epb,
the getPos does not need to include it.
The first commit will expose the following issue.
The second, commit fixed it
[ RUN ] NalReaderTest.GetPosForEPB
nalReader_unittest.cpp:97: Failure
Expected: 1u
Which is: 1
To be equal to: r.getPos()
Which is: 9
nalReader_unittest.cpp:100: Failure
Expected: 8u
Which is: 8
To be equal to: r.getPos()
Which is: 16
[ FAILED ] NalReaderTest.GetPosForEPB (0 ms)
getPos is complex when we have epb, if we do not reach the epb, the getPos does not need to include it. The first commit will expose the following issue. The second, commit fixed it