mxfdec: Rescale audio stream duration from EditRate to SampleRate
authorTomas Härdin <tomas.hardin@codemill.se>
Fri, 14 Dec 2012 14:39:16 +0000 (15:39 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 25 Dec 2012 16:45:34 +0000 (17:45 +0100)
commit928727f951d6cdfec278a71c88a486d178baa2da
treeecbd25f2140e808032c9bcc98516944bc796aa8a
parenta752b9b8635ab11f464e215dee76ac02ef6f9a70
mxfdec: Rescale audio stream duration from EditRate to SampleRate

Since 83cab07 audio stream time bases are based on SampleRate, not EditRate.
This fixes trac ticket #2029 and a few seeking issues.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/mxfdec.c
tests/ref/seek/lavf-mxf
tests/ref/seek/lavf-mxf_d10