[FFmpeg-devel] [PATCH 2/2] avformat/hlsenc: set AVFMT_NODIMENSIONS
Aman Gupta
ffmpeg at tmm1.net
Thu May 10 05:23:36 EEST 2018
From: Aman Gupta <aman at tmm1.net>
Same as previous commit but for mpegts inside HLS.
---
libavformat/hlsenc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c
index c27a66ea79..9c06551ea6 100644
--- a/libavformat/hlsenc.c
+++ b/libavformat/hlsenc.c
@@ -2875,7 +2875,7 @@ AVOutputFormat ff_hls_muxer = {
.audio_codec = AV_CODEC_ID_AAC,
.video_codec = AV_CODEC_ID_H264,
.subtitle_codec = AV_CODEC_ID_WEBVTT,
- .flags = AVFMT_NOFILE | AVFMT_GLOBALHEADER | AVFMT_ALLOW_FLUSH,
+ .flags = AVFMT_NOFILE | AVFMT_GLOBALHEADER | AVFMT_ALLOW_FLUSH | AVFMT_NODIMENSIONS,
.init = hls_init,
.write_header = hls_write_header,
.write_packet = hls_write_packet,
--
2.14.2
More information about the ffmpeg-devel
mailing list