diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-02-05 14:32:10 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-02-07 20:11:11 +0100 |
commit | 1270e12e49c9039fa5fe18cfb45137558d127f92 (patch) | |
tree | 2ff84e541b91ef8c10db23273ff809115303e0fc /tests/ref/lavf/nut | |
parent | c9af8326238c37d1a1f0029a158c7ede33836aa3 (diff) | |
download | ffmpeg-streaming-1270e12e49c9039fa5fe18cfb45137558d127f92.zip ffmpeg-streaming-1270e12e49c9039fa5fe18cfb45137558d127f92.tar.gz |
avconv: rework -t handling for encoding.
Current code compares the desired recording time with InputStream.pts,
which has a very unclear meaning. Change the code to use actual
timestamps of the frames passed to the encoder.
In several tests, one less frame is encoded, which is more correct.
In the idroq test one more frame is encoded, which is again more
correct.
Behavior with stream copy should be unchanged.
Diffstat (limited to 'tests/ref/lavf/nut')
-rw-r--r-- | tests/ref/lavf/nut | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/ref/lavf/nut b/tests/ref/lavf/nut index 461b185..e658434 100644 --- a/tests/ref/lavf/nut +++ b/tests/ref/lavf/nut @@ -1,3 +1,3 @@ -16b9d2cf8effb7dae316c6b9248a49b7 *./tests/data/lavf/lavf.nut -319888 ./tests/data/lavf/lavf.nut -./tests/data/lavf/lavf.nut CRC=0x2a83e6b0 +7e44a8ed5ff2fe5442f758d48fe1b496 *./tests/data/lavf/lavf.nut +319680 ./tests/data/lavf/lavf.nut +./tests/data/lavf/lavf.nut CRC=0xa79b84dd |