codecparsers: Variant of _identify_nalu without checks
authorEdward Hervey <edward.hervey@collabora.co.uk>
Mon, 5 Dec 2011 10:47:57 +0000 (11:47 +0100)
committerEdward Hervey <edward.hervey@collabora.co.uk>
Mon, 5 Dec 2011 18:03:05 +0000 (19:03 +0100)
commitc4d987b6d391a7fc8c32f6abea819452b4dd9882
tree6b011cefb800a4fa0a34fa1a0a2ea52b14c7d2b9
parent9604342af3b6bbedeb3b2b7548105f591b5684eb
codecparsers: Variant of _identify_nalu without checks

This is useful for cases where the caller *knows* that the provided
input contains a whole NALU and can therefore avoid:
* the expensive checks for the next start code (which won't be present)
* delaying the input parsing (since we would need the next incoming NALU
  in order for the parsing code to detect the next start code)

https://bugzilla.gnome.org/show_bug.cgi?id=665584
gst-libs/gst/codecparsers/gsth264parser.c
gst-libs/gst/codecparsers/gsth264parser.h