[FFmpeg-devel] [PATCH 2/2] avformat/movenc: enable btrt for mov mode
Zhao Zhili
quinkblack at foxmail.com
Mon May 30 10:49:23 EEST 2022
Signed-off-by: Zhao Zhili <quinkblack at foxmail.com>
---
libavformat/movenc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index c2dc354ed3..69726d93e3 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -6897,7 +6897,7 @@ static int mov_init(AVFormatContext *s)
}
if (mov->write_btrt < 0) {
- mov->write_btrt = mov->mode == MODE_MP4;
+ mov->write_btrt = mov->mode == MODE_MP4 || mov->mode == MODE_MOV;
}
if ( mov->write_tmcd == -1 && (mov->mode == MODE_MOV || mov->mode == MODE_MP4)
--
2.35.3
More information about the ffmpeg-devel
mailing list