mpeg4: fix handling of temporal reference distances.
authorWind Yuan <feng.yuan@intel.com>
Thu, 12 Apr 2012 03:02:45 +0000 (23:02 -0400)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Thu, 12 Apr 2012 09:44:16 +0000 (11:44 +0200)
commit60b5c2da97b7fd33fe9227fde6b2c8b2b91e1104
tree3a6973c3059f7ae95679ccbd404be71a50942ac9
parent687b4828954086997f011904ef1eafde51345b12
mpeg4: fix handling of temporal reference distances.

TRD and TRB fields are not large enough to hold the difference of PTS
expressed with nanosecond resolution. So, compute them from the original
VOP info.

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