NewChromantics / PopH264

Low-level, minimal H264 decoder & encoder library for windows, hololens/uwp, ios/tvos/macos, linux, android/quest/magic leap. CAPI for use with c#, unreal, swift
http://poph264.com/
Mozilla Public License 2.0
84 stars 15 forks source link

Unit Test for frame numbers #14

Open SoylentGraham opened 3 years ago

SoylentGraham commented 3 years ago

Make some video with big numbers on each frame and meta to sync with them

OSX definitely seems out, or at least, frame numbers aren't matching (also need to take into account SPS/non-frame NALU which go IN as "frames")

SoylentGraham commented 3 years ago

This has been fixed across all platforms now, and tests in the TestApp for output frame number to match input frame number.

Needs to turn into a unit test.