[FFmpeg-devel,2/2] avformat/hlsenc: set AVFMT_NODIMENSIONS

Submitted by Aman Gupta on May 10, 2018, 2:23 a.m.

Details

Message ID 20180510022336.68863-2-ffmpeg@tmm1.net
State Accepted
Commit 18074b309fb40b51575d91368c85442ef6dbdf34
Headers show

Commit Message

Aman Gupta May 10, 2018, 2:23 a.m.
From: Aman Gupta <aman@tmm1.net>

Same as previous commit but for mpegts inside HLS.
---
 libavformat/hlsenc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

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,