diff options
author | Gyan Doshi <ffmpeg@gyani.pro> | 2019-05-02 15:00:02 +0530 |
---|---|---|
committer | Gyan Doshi <ffmpeg@gyani.pro> | 2019-05-03 10:18:53 +0530 |
commit | 6223d076e3d0b887282a3ac67213a6a1563b71df (patch) | |
tree | 1f1592877786e0979d8ca09934ac5b1108a50544 /libavformat | |
parent | b41d8ab2e6360d48c36f18cca68419f0e544a5a8 (diff) |
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.
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/mov.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, }; |