mpeg2: fix PTS cache for GOP start.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Tue, 26 May 2015 11:28:32 +0000 (13:28 +0200)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 27 May 2015 14:43:34 +0000 (16:43 +0200)
commitefc07f6bb1873704458d3a5f6432dfc1871ec661
treee11d9bb323c0a86d922ad901d5e25b30e64bfdc1
parentd6255be9398f5d6803c0997446a4b89c10beab26
mpeg2: fix PTS cache for GOP start.

If the GOP temporal sequence number (TSN) is interpolated from a valid
PTS, then we need to compensate that PTS corresponding to the start of
GOP with the next picture to be decoded, which shall be an I-frame,
based on its sequence number.

https://bugzilla.gnome.org/show_bug.cgi?id=748676
gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c