dec: scale the estimated duration by number of frames
authorWim Taymans <wim.taymans@collabora.co.uk>
Sun, 12 Dec 2010 11:38:55 +0000 (12:38 +0100)
committerWim Taymans <wim.taymans@gmail.com>
Sun, 12 Dec 2010 11:38:55 +0000 (12:38 +0100)
commitec48b24291e4587145d012034e76d69761126d43
tree7e5097948879887e89fdabb59f75eb6fe2d6a1b5
parent957c728b3d591d2c8a25024e18575db01283784e
dec: scale the estimated duration by number of frames

When estimating the frame duration, the diff between two incomming timestamps
should be scaled by the amount of frames in the interval. Improves duration
estimation and DTS interpolation.
ext/ffmpeg/gstffmpegdec.c