projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d25c2b
)
hlsenc: Set the default codecs to AAC and H264
author
Martin Storsjö
<martin@martin.st>
Thu, 15 May 2014 18:43:46 +0000
(21:43 +0300)
committer
Martin Storsjö
<martin@martin.st>
Fri, 16 May 2014 22:34:16 +0000
(
01:34
+0300)
Most HLS implementation only support these codecs.
Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/hlsenc.c
patch
|
blob
|
history
diff --git
a/libavformat/hlsenc.c
b/libavformat/hlsenc.c
index d36d3fb65e374d576f58e39b0bf090f5ec7b243b..aa38d0546208d8dfb81e471c86f247a6b8bf64f5 100644
(file)
--- a/
libavformat/hlsenc.c
+++ b/
libavformat/hlsenc.c
@@
-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,