diff options
author | Steven Liu <lq@chinaffmpeg.org> | 2019-06-02 16:53:11 +0300 |
---|---|---|
committer | Steven Liu <lq@chinaffmpeg.org> | 2019-06-02 16:53:11 +0300 |
commit | 4ef0bea292d29115a60b427175614f99a7bc9da8 (patch) | |
tree | 3a9c636d7194262783d096dc1902f095fdfaf4a8 | |
parent | fcfe85220dbdcc8df226abc2f829de569372b7b4 (diff) |
doc/muxers: fix typo of the hls var_stream_map example
And fix typo of the 1833 of hlsenc.c
Reviewed-by: Gyan Doshi <ffmpeg@gyani.pro>
Signed-off-by: Steven Liu <lq@onvideo.cn>
-rw-r--r-- | doc/muxers.texi | 2 | ||||
-rw-r--r-- | libavformat/hlsenc.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/muxers.texi b/doc/muxers.texi index 83ae017d6c..c73719c421 100644 --- a/doc/muxers.texi +++ b/doc/muxers.texi @@ -991,7 +991,7 @@ By default, a single hls variant containing all the encoded streams is created. @example ffmpeg -re -i in.ts -b:a:0 32k -b:a:1 64k -b:v:0 1000k \ -map 0:a -map 0:a -map 0:v -f hls \ - -var_stream_map "a:0,agroup:aud_low,default:yes,language=ENG a:1,agroup:aud_low,language:CHN v:0,agroup:aud_low" \ + -var_stream_map "a:0,agroup:aud_low,default:yes,language:ENG a:1,agroup:aud_low,language:CHN v:0,agroup:aud_low" \ -master_pl_name master.m3u8 \ http://example.com/live/out_%v.m3u8 @end example diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index 6b913be31c..1613c34509 100644 --- a/libavformat/hlsenc.c +++ b/libavformat/hlsenc.c @@ -1830,7 +1830,7 @@ static int parse_variant_stream_mapstring(AVFormatContext *s) /** * Expected format for var_stream_map string is as below: * "a:0,v:0 a:1,v:1" - * "a:0,agroup:a0,default:1,language:ENG a:1,agroup:a1,defalut:0 v:0,agroup:a0 v:1,agroup:a1" + * "a:0,agroup:a0,default:1,language:ENG a:1,agroup:a1,default:0 v:0,agroup:a0 v:1,agroup:a1" * This string specifies how to group the audio, video and subtitle streams * into different variant streams. The variant stream groups are separated * by space. |