[FFmpeg-cvslog] Update mkv seek tests.

Reimar Döffinger git at videolan.org
Mon Feb 13 21:49:04 CET 2012


ffmpeg | branch: master | Reimar Döffinger <Reimar.Doeffinger at gmx.de> | Mon Feb 13 21:29:26 2012 +0100| [048cc80292107276441014518f7f5a6fa3bad462] | committer: Reimar Döffinger

Update mkv seek tests.

Seek beyond the end will now directly return an error instead
of claiming to succeed and then return EOF immediately on next read.
This change is because before 47e015e6f1913f7da943898eb7716a954f947ff7
mkv seek incorrectly never failed.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger at gmx.de>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=048cc80292107276441014518f7f5a6fa3bad462
---

 tests/ref/seek/lavf_mkv |   15 +++++----------
 1 files changed, 5 insertions(+), 10 deletions(-)

diff --git a/tests/ref/seek/lavf_mkv b/tests/ref/seek/lavf_mkv
index ca99350..4f72786 100644
--- a/tests/ref/seek/lavf_mkv
+++ b/tests/ref/seek/lavf_mkv
@@ -7,32 +7,28 @@ ret: 0         st: 0 flags:0  ts: 0.788000
 ret: 0         st: 0 flags:1 dts: 0.960000 pts: 0.960000 pos: 291977 size: 27834
 ret: 0         st: 0 flags:1  ts:-0.317000
 ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:    556 size: 27837
-ret: 0         st: 1 flags:0  ts: 2.577000
-ret:-EOF
+ret:-1         st: 1 flags:0  ts: 2.577000
 ret: 0         st: 1 flags:1  ts: 1.471000
 ret: 0         st: 1 flags:1 dts: 1.019000 pts: 1.019000 pos: 320250 size:   209
 ret: 0         st:-1 flags:0  ts: 0.365002
 ret: 0         st: 0 flags:1 dts: 0.480000 pts: 0.480000 pos: 146746 size: 27925
 ret: 0         st:-1 flags:1  ts:-0.740831
 ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:    556 size: 27837
-ret: 0         st: 0 flags:0  ts: 2.153000
-ret:-EOF
+ret:-1         st: 0 flags:0  ts: 2.153000
 ret: 0         st: 0 flags:1  ts: 1.048000
 ret: 0         st: 0 flags:1 dts: 0.960000 pts: 0.960000 pos: 291977 size: 27834
 ret: 0         st: 1 flags:0  ts:-0.058000
 ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:    556 size: 27837
 ret: 0         st: 1 flags:1  ts: 2.836000
 ret: 0         st: 1 flags:1 dts: 1.019000 pts: 1.019000 pos: 320250 size:   209
-ret: 0         st:-1 flags:0  ts: 1.730004
-ret:-EOF
+ret:-1         st:-1 flags:0  ts: 1.730004
 ret: 0         st:-1 flags:1  ts: 0.624171
 ret: 0         st: 0 flags:1 dts: 0.480000 pts: 0.480000 pos: 146746 size: 27925
 ret: 0         st: 0 flags:0  ts:-0.482000
 ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:    556 size: 27837
 ret: 0         st: 0 flags:1  ts: 2.413000
 ret: 0         st: 0 flags:1 dts: 0.960000 pts: 0.960000 pos: 291977 size: 27834
-ret: 0         st: 1 flags:0  ts: 1.307000
-ret:-EOF
+ret:-1         st: 1 flags:0  ts: 1.307000
 ret: 0         st: 1 flags:1  ts: 0.201000
 ret: 0         st: 1 flags:1 dts: 0.183000 pts: 0.183000 pos:  72126 size:   209
 ret: 0         st:-1 flags:0  ts:-0.904994
@@ -43,8 +39,7 @@ ret: 0         st: 0 flags:0  ts: 0.883000
 ret: 0         st: 0 flags:1 dts: 0.960000 pts: 0.960000 pos: 291977 size: 27834
 ret: 0         st: 0 flags:1  ts:-0.222000
 ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:    556 size: 27837
-ret: 0         st: 1 flags:0  ts: 2.672000
-ret:-EOF
+ret:-1         st: 1 flags:0  ts: 2.672000
 ret: 0         st: 1 flags:1  ts: 1.566000
 ret: 0         st: 1 flags:1 dts: 1.019000 pts: 1.019000 pos: 320250 size:   209
 ret: 0         st:-1 flags:0  ts: 0.460008



More information about the ffmpeg-cvslog mailing list