codecparsers: mpeg2: fix video packet header size checks.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Fri, 5 Jul 2013 16:33:42 +0000 (18:33 +0200)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Fri, 5 Jul 2013 17:01:01 +0000 (19:01 +0200)
commit0f68a717b6a972b9819872e9efc031e07b61877c
tree23e56bb54013117b7e3d586e486694138280803f
parenta872aa1458fc461bf453bb652e56b301cc6760e0
codecparsers: mpeg2: fix video packet header size checks.

Fix video packet header size checks for:
- Sequence Header: 64 bits ;
- Sequence Scalable Extension: 10 bits ;
- Slice Header: 6 bits.

https://bugzilla.gnome.org/show_bug.cgi?id=703668

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
gst-libs/gst/codecparsers/gstmpegvideoparser.c