summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorAman Gupta <aman@tmm1.net>2018-05-09 19:22:33 -0700
committerAman Gupta <aman@tmm1.net>2018-05-12 11:48:46 -0700
commit18074b309fb40b51575d91368c85442ef6dbdf34 (patch)
tree0a601f8a13bb09d01d7a7f595256fcbfe1ed3175 /libavformat
parent6f50be876016979c43a3e468290f363a2f095f33 (diff)
avformat/hlsenc: set AVFMT_NODIMENSIONS
Same as previous commit but for mpegts inside HLS. Signed-off-by: Aman Gupta <aman@tmm1.net>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/hlsenc.c2
1 files changed, 1 insertions, 1 deletions
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,