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>
Tue, 26 Jun 2012 09:54:51 +0000 (11:54 +0200)
commit15e34441d1b1cd7fc963703acce032d22b9fa961
treeeb5962937c07dda65445ec7a973bc834263d2461
parenta37932c2d8abc24996a97b83d24c5ad0e8089933
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