libhb: add generic code for converting NAL
unit bitstreams (H.264, HEVC) to and from
Annex B format.

Only used by QSV for now, but could
always come in handy down the road.

May also fix an issue introduced
by the recent QSV cleanup patchset.


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6156 b64f7644-9d1e-0410-96f1-a4d463321fa5
QSV: fix logging of whether B-frames are enabled.


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6157 b64f7644-9d1e-0410-96f1-a4d463321fa5
Experiment again
Fix logging.
Fix previous commit.
Debug code.
Fix debug code
Better
Test 1
Test 2
Revert "Test 2"

This reverts commit b5b87bc14d9723acaeff2ced993cb84c5585f561.
Revert "Test 1"

This reverts commit c9d2b80e1e3ad6e6386a9825b316d969bd11bdc7.
newtest
DBG

Signed-off-by: Tim Walker <tdskywalker@gmail.com>
Formatting
Less verbosity.
Meh
Experiment
Further debugging
Check