Commit 5c9f7900 authored by Committed by Tim-Philipp Müller
codecparsers: h264: record number of emulation prevention bytes in slice_header().
Some hardware video decode acceleration API (VA-API, DXVA) require a bit count to the first macroblock, minus the number of emulation prevention bytes. So, instead of having the consumer of the library scan the slice_header() again, just record that number while parsing. Signed-off-by: Gwenole Beauchesne <firstname.lastname@example.org> https://bugzilla.gnome.org/show_bug.cgi?id=671203
Showing with 13 additions and 0 deletions