mpegvideoparse: set timestamp based on pic offset
authorDavid Schleef <ds@schleef.org>
Tue, 12 Feb 2013 00:35:48 +0000 (16:35 -0800)
committerDavid Schleef <ds@schleef.org>
Tue, 12 Feb 2013 01:41:17 +0000 (17:41 -0800)
commit63718da919b6a3daa04a66da1be4db54e0778898
treed7e557db644027e77d18b1b28fe65bbd997b432b
parentb738115ebddd24411e23bff7094cd7b0eb239cc9
mpegvideoparse: set timestamp based on pic offset

Timestamps in MPEG-TS streams are based on the last timestamp
before the start code of the picture.  GstBaseParse sets the
timestamp based on the beginning of the sequence header, if
one exists before the picture.  This fixes the case where the
timestamp occurs in the MPEG-TS stream between the seq header
and picture start code.
configure.ac
gst/videoparsers/gstmpegvideoparse.c