[FFmpeg-cvslog] avformat/hlsenc: set AVFMT_NODIMENSIONS

Aman Gupta git at videolan.org
Sat May 12 21:49:21 EEST 2018


ffmpeg | branch: master | Aman Gupta <aman at tmm1.net> | Wed May  9 19:22:33 2018 -0700| [18074b309fb40b51575d91368c85442ef6dbdf34] | committer: Aman Gupta

avformat/hlsenc: set AVFMT_NODIMENSIONS

Same as previous commit but for mpegts inside HLS.

Signed-off-by: Aman Gupta <aman at tmm1.net>

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

 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,



More information about the ffmpeg-cvslog mailing list