[FFmpeg-cvslog] avformat/mov: set AVFMT_SEEK_TO_PTS flag

Gyan Doshi git at videolan.org
Fri May 3 08:25:08 EEST 2019


ffmpeg | branch: master | Gyan Doshi <ffmpeg at gyani.pro> | Thu May  2 15:18:02 2019 +0530| [6223d076e3d0b887282a3ac67213a6a1563b71df] | committer: Gyan Doshi

avformat/mov: set AVFMT_SEEK_TO_PTS flag

Ever since 59ad504696, the demuxer expects its seek arg to be PTS
and adjusts internally to search index by DTS.

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

 libavformat/mov.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/mov.c b/libavformat/mov.c
index d0347b2970..78f692872b 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -8006,5 +8006,5 @@ AVInputFormat ff_mov_demuxer = {
     .read_packet    = mov_read_packet,
     .read_close     = mov_read_close,
     .read_seek      = mov_read_seek,
-    .flags          = AVFMT_NO_BYTE_SEEK,
+    .flags          = AVFMT_NO_BYTE_SEEK | AVFMT_SEEK_TO_PTS,
 };



More information about the ffmpeg-cvslog mailing list