codecparsers: h264: add nal_reader_skip_long() helper.
Add nal_reader_skip_long() helper function to allow an arbitrary number
of bits to be skipped. The former nal_reader_skip() function is too
limited to the actual cache size.
Use this new function to simplify gst_h264_parser_parse_sei_message()
default case, that skips unsupported payloads.
v2: made args consistent from header to source file.
Signed-off-by:
Gwenole Beauchesne <gwenole.beauchesne@intel.com>
- gst-libs/gst/codecparsers/gsth264parser.c 3 additions, 8 deletionsgst-libs/gst/codecparsers/gsth264parser.c
- gst-libs/gst/codecparsers/nalutils.c 22 additions, 0 deletionsgst-libs/gst/codecparsers/nalutils.c
- gst-libs/gst/codecparsers/nalutils.h 1 addition, 0 deletionsgst-libs/gst/codecparsers/nalutils.h