[FFmpeg-devel] [PATCH 3/4] lavf/av1dec: mark as notimestamps

Anton Khirnov anton at khirnov.net
Tue May 2 12:37:54 EEST 2023


---
 libavformat/av1dec.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavformat/av1dec.c b/libavformat/av1dec.c
index d4b430af7e..ba7fee60cd 100644
--- a/libavformat/av1dec.c
+++ b/libavformat/av1dec.c
@@ -287,7 +287,7 @@ const AVInputFormat ff_av1_demuxer = {
     .read_packet    = annexb_read_packet,
     .read_close     = av1_read_close,
     .extensions     = "obu",
-    .flags          = AVFMT_GENERIC_INDEX,
+    .flags          = AVFMT_GENERIC_INDEX | AVFMT_NOTIMESTAMPS,
     .priv_class     = &av1_demuxer_class,
 };
 #endif
@@ -432,7 +432,7 @@ const AVInputFormat ff_obu_demuxer = {
     .read_packet    = obu_read_packet,
     .read_close     = av1_read_close,
     .extensions     = "obu",
-    .flags          = AVFMT_GENERIC_INDEX | AVFMT_NO_BYTE_SEEK,
+    .flags          = AVFMT_GENERIC_INDEX | AVFMT_NO_BYTE_SEEK | AVFMT_NOTIMESTAMPS,
     .priv_class     = &av1_demuxer_class,
 };
 #endif
-- 
2.39.2



More information about the ffmpeg-devel mailing list