OSDN Git Service

mxf: Set audio packets pts
authorMatthieu Bouron <matthieu.bouron@gmail.com>
Thu, 13 Sep 2012 19:15:48 +0000 (21:15 +0200)
committerLuca Barbato <lu_zero@gentoo.org>
Thu, 6 Mar 2014 18:28:20 +0000 (19:28 +0100)
commit5b930092c3afd2ae01f1c8aa7fb405911d6ad416
treeba5f3c8f5bef26816a68c043af3d78b74b0d5adc
parente118bb1a33889d4df56f28975b4fd0793b4f5c32
mxf: Set audio packets pts

Extrapolate audio timestamps based on the number of samples demuxed.

Deal with some MXF nastiness involving fractional number of
samples per EditUnit when seeking (the specs handwave this away).

Further fixes from Tomas Härdin.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
libavformat/mxfdec.c
tests/ref/seek/lavf-mxf
tests/ref/seek/lavf-mxf_d10