mpegvideoparse: cope with new parser API.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Thu, 4 Jul 2013 12:22:14 +0000 (14:22 +0200)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Fri, 5 Jul 2013 15:39:28 +0000 (17:39 +0200)
commitd10acd38790cd0f3d7b1318ff694281d67ddf473
tree6688b83cb16de59e215ea088fa887e61d569eda6
parent1a5265ef72375fc1cf383b9e707a998e7c293887
mpegvideoparse: cope with new parser API.

Migrate the code to use the new parser API based on GstMpegVideoPacket.

Also try to optimize gst_mpegv_parse_process_config() by using more of
GstMpegVideoPacket and determining the extension_start_code_identifier
prior to calling the parser function for that extension packet.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
gst/videoparsers/gstmpegvideoparse.c