aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ref
diff options
context:
space:
mode:
authorZhao Zhili <zhilizhao@tencent.com>2022-07-29 12:43:08 +0800
committerZhao Zhili <zhilizhao@tencent.com>2022-08-03 17:52:45 +0800
commit693c5be320c23e892c49907eba394215bddbe94a (patch)
tree1d1437c4eb7db052393353ddd14a2fade46c8ec0 /tests/ref
parent30aa0c3f4873a92c5e3da8ba8cf030de56bf4cf7 (diff)
downloadffmpeg-693c5be320c23e892c49907eba394215bddbe94a.tar.gz
avformat/flvenc: fix timestamp of key frame index
Firstly, the timestamps generated from framerate are inaccurate for variable framerate mode. Secondly, the timestamps always start from zero, while pts/dts can start from nonzero. FLV demuxer rejects such index with message: "Found invalid index entries, clearing the index".
Diffstat (limited to 'tests/ref')
-rw-r--r--tests/ref/fate/flv-add_keyframe_index2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ref/fate/flv-add_keyframe_index b/tests/ref/fate/flv-add_keyframe_index
index 39c4bed85a..6549170a68 100644
--- a/tests/ref/fate/flv-add_keyframe_index
+++ b/tests/ref/fate/flv-add_keyframe_index
@@ -1,4 +1,4 @@
-5f38d76da3ed4a5be06ca604c53666f2 *tests/data/fate/flv-add_keyframe_index.flv
+9f3d6de74f3329651a4c515c20cea00f *tests/data/fate/flv-add_keyframe_index.flv
630192 tests/data/fate/flv-add_keyframe_index.flv
#tb 0: 1/1000
#media_type 0: video