Commit 34e2ce5d authored by Martin Storsjö's avatar Martin Storsjö
Browse files

hlsenc: Set the default codecs to AAC and H264



Most HLS implementation only support these codecs.
Signed-off-by: default avatarMartin Storsjö <martin@martin.st>
parent 4d25c2bc
......@@ -342,8 +342,8 @@ AVOutputFormat ff_hls_muxer = {
.long_name = NULL_IF_CONFIG_SMALL("Apple HTTP Live Streaming"),
.extensions = "m3u8",
.priv_data_size = sizeof(HLSContext),
.audio_codec = AV_CODEC_ID_MP2,
.video_codec = AV_CODEC_ID_MPEG2VIDEO,
.audio_codec = AV_CODEC_ID_AAC,
.video_codec = AV_CODEC_ID_H264,
.flags = AVFMT_NOFILE | AVFMT_ALLOW_FLUSH,
.write_header = hls_write_header,
.write_packet = hls_write_packet,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment