avformat/hlsenc: set AVFMT_NODIMENSIONS
authorAman Gupta <aman@tmm1.net>
Thu, 10 May 2018 02:22:33 +0000 (19:22 -0700)
committerAman Gupta <aman@tmm1.net>
Sat, 12 May 2018 18:48:46 +0000 (11:48 -0700)
Same as previous commit but for mpegts inside HLS.

Signed-off-by: Aman Gupta <aman@tmm1.net>
libavformat/hlsenc.c

index c27a66e..9c06551 100644 (file)
@@ -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,
     .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,
     .init           = hls_init,
     .write_header   = hls_write_header,
     .write_packet   = hls_write_packet,