summaryrefslogtreecommitdiff
path: root/tests/ref/fate
diff options
context:
space:
mode:
authorSasi Inguva <isasi@google.com>2018-05-29 15:36:07 -0700
committerMichael Niedermayer <michael@niedermayer.cc>2018-06-06 01:53:30 +0200
commitfe6c4f0c47d4390bead6e226cb12b45584b76301 (patch)
tree3388b17ec15a6ef5d01e80859ec99fd26493805f /tests/ref/fate
parent318d0fcbfe5637013342d53d44bb7ea8867fb4d0 (diff)
lavf/mov.c: Set st->start_time for video streams explicitly.
If start_time is not set, ffmpeg takes the duration from the global movie instead of the per stream duration. Signed-off-by: Sasi Inguva <isasi@google.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'tests/ref/fate')
-rw-r--r--tests/ref/fate/mov-neg-firstpts-discard2
-rw-r--r--tests/ref/fate/mov-stream-shorter-than-movie33
2 files changed, 34 insertions, 1 deletions
diff --git a/tests/ref/fate/mov-neg-firstpts-discard b/tests/ref/fate/mov-neg-firstpts-discard
index 7c982d3ffe..2e295e3b68 100644
--- a/tests/ref/fate/mov-neg-firstpts-discard
+++ b/tests/ref/fate/mov-neg-firstpts-discard
@@ -1,3 +1,3 @@
[STREAM]
-start_time=N/A
+start_time=0.000000
[/STREAM]
diff --git a/tests/ref/fate/mov-stream-shorter-than-movie b/tests/ref/fate/mov-stream-shorter-than-movie
new file mode 100644
index 0000000000..28f3ef378c
--- /dev/null
+++ b/tests/ref/fate/mov-stream-shorter-than-movie
@@ -0,0 +1,33 @@
+#format: frame checksums
+#version: 2
+#hash: MD5
+#tb 0: 1/24
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 640x480
+#sar 0: 0/1
+#stream#, dts, pts, duration, size, hash
+0, 0, 0, 1, 460800, 3a26ddfa53f09d535c701138027e49dc
+0, 1, 1, 1, 460800, f09fe0d079ee81eb7db617b48ab5eecf
+0, 2, 2, 1, 460800, 40a165b074c7f4d34a41f320400737fc
+0, 3, 3, 1, 460800, 8ba73359c89ebc51e29847ef0e27f7c3
+0, 4, 4, 1, 460800, 0d783fcf3d37b99e7b41c0450e28f905
+0, 5, 5, 1, 460800, 7251de6f3e2ebccc2183aa7090dd59fb
+0, 6, 6, 1, 460800, 5d2ab26df00d2ef9adf763480f9c0493
+0, 7, 7, 1, 460800, b545f2623d4f4b3bc5ba28ca842cb00e
+0, 8, 8, 1, 460800, b3132e721028d0ccd0a734ef44fec5ff
+0, 9, 9, 1, 460800, 354af9e99c0d5b9cb910b468e8afc89e
+0, 10, 10, 1, 460800, 55452405c3cf6c44365d2dbe6cf37be3
+0, 11, 11, 1, 460800, 8ad58d19a00acc37536054706e235868
+0, 12, 12, 1, 460800, 833295be0a52fc2cf8dc7ae0375fd4f1
+0, 13, 13, 1, 460800, 3a943976671337231b962c659bb70f5c
+0, 14, 14, 1, 460800, 1dddc5aae4adb42b582565bc19f3f464
+0, 15, 15, 1, 460800, 0562a855137f84269cbfaa94e7d0f623
+0, 16, 16, 1, 460800, e4a89894c47c7142fbc0b9122a7c0561
+0, 17, 17, 1, 460800, 31f4354cc10c6a9d3fc35c0123710528
+0, 18, 18, 1, 460800, c4cfbb24b55d09be1a9b6f1f3fe3ae33
+0, 19, 19, 1, 460800, 0643e1e9cf7e3a4494ad4b425e7dcce7
+0, 20, 20, 1, 460800, 1caf065c1fcb1541e5625d9d5e9d0944
+0, 21, 21, 1, 460800, f519db6dcb739a494e4b57bff2c3b021
+0, 22, 22, 1, 460800, 5bcd1c762ff8edf2b9a4e489be97f18d
+0, 23, 23, 1, 460800, a818d6d3a94270294d6cf9432b19daa5