lavf/mov.c: Set st->start_time for video streams explicitly.
authorSasi Inguva <isasi@google.com>
Tue, 29 May 2018 22:36:07 +0000 (15:36 -0700)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 5 Jun 2018 23:53:30 +0000 (01:53 +0200)
commitfe6c4f0c47d4390bead6e226cb12b45584b76301
tree3388b17ec15a6ef5d01e80859ec99fd26493805f
parent318d0fcbfe5637013342d53d44bb7ea8867fb4d0
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>
libavformat/mov.c
tests/fate/mov.mak
tests/ref/fate/mov-neg-firstpts-discard
tests/ref/fate/mov-stream-shorter-than-movie [new file with mode: 0644]