mxf: Set audio packets pts

Multimedia / Libav - Matthieu Bouron [gmail.com] - 6 March 2014 12:28 UTC

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.

5b93009 mxf: Set audio packets pts
libavformat/mxfdec.c | 111 +++++++++++++++++++++++++++++++++++++++++--
tests/ref/seek/lavf-mxf | 2 +-
tests/ref/seek/lavf-mxf_d10 | 2 +-
3 files changed, 108 insertions(+), 7 deletions(-)

Upstream: git.libav.org


  • Share