diff options
author | Matthieu Bouron <matthieu.bouron@gmail.com> | 2012-09-13 21:15:48 +0200 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2014-03-06 19:28:20 +0100 |
commit | 5b930092c3afd2ae01f1c8aa7fb405911d6ad416 (patch) | |
tree | ba5f3c8f5bef26816a68c043af3d78b74b0d5adc /tests | |
parent | e118bb1a33889d4df56f28975b4fd0793b4f5c32 (diff) | |
download | ffmpeg-5b930092c3afd2ae01f1c8aa7fb405911d6ad416.tar.gz |
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>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ref/seek/lavf-mxf | 2 | ||||
-rw-r--r-- | tests/ref/seek/lavf-mxf_d10 | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/ref/seek/lavf-mxf b/tests/ref/seek/lavf-mxf index 5f2cf5d1b0..010d6bf4a3 100644 --- a/tests/ref/seek/lavf-mxf +++ b/tests/ref/seek/lavf-mxf @@ -30,7 +30,7 @@ ret: 0 st: 0 flags:1 ts: 2.400000 ret: 0 st: 0 flags:1 dts: 0.840000 pts: 0.960000 pos: 460800 size: 24712 ret:-1 st: 1 flags:0 ts: 1.306667 ret: 0 st: 1 flags:1 ts: 0.200833 -ret: 0 st: 0 flags:1 dts: 0.840000 pts: 0.960000 pos: 460800 size: 24712 +ret: 0 st: 0 flags:1 dts:-0.040000 pts: 0.000000 pos: 6144 size: 24801 ret: 0 st:-1 flags:0 ts:-0.904994 ret: 0 st: 0 flags:1 dts:-0.040000 pts: 0.000000 pos: 6144 size: 24801 ret: 0 st:-1 flags:1 ts: 1.989173 diff --git a/tests/ref/seek/lavf-mxf_d10 b/tests/ref/seek/lavf-mxf_d10 index e091c77633..17cca29c03 100644 --- a/tests/ref/seek/lavf-mxf_d10 +++ b/tests/ref/seek/lavf-mxf_d10 @@ -34,7 +34,7 @@ ret: 0 st: 0 flags:1 dts: 0.960000 pts: 0.960000 pos:5117952 size:150000 ret: 0 st: 1 flags:0 ts: 1.306667 ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:5117952 size:150000 ret: 0 st: 1 flags:1 ts: 0.200833 -ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:5117952 size:150000 +ret: 0 st: 0 flags:1 dts: 0.200000 pts: 0.200000 pos:1071104 size:150000 ret: 0 st:-1 flags:0 ts:-0.904994 ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: 6144 size:150000 ret: 0 st:-1 flags:1 ts: 1.989173 |