dec: use input timestamp diff for duration estimation
authorWim Taymans <wim.taymans@collabora.co.uk>
Sun, 12 Dec 2010 09:54:09 +0000 (10:54 +0100)
committerWim Taymans <wim.taymans@gmail.com>
Sun, 12 Dec 2010 10:20:22 +0000 (11:20 +0100)
commit957c728b3d591d2c8a25024e18575db01283784e
tree0d0c8441025ee9f580e49b37e423a9afbbc53089
parentda5245865be79f966e6bcabfd1da6dc59b5dc994
dec: use input timestamp diff for duration estimation

Use the diff between input timestamps to estimate the duration when no duration
is set on input buffers. Only do this when there are no reordered input
timestamps. Improves interpolation in DTS mode when no input duration is set.
ext/ffmpeg/gstffmpegdec.c