[FFmpeg-devel] doc/muxers: fix typo of the hls var_stream_map example

Submitted by Steven Liu on June 2, 2019, 1:14 p.m.

Details

Message ID 20190602131446.7670-1-lq@chinaffmpeg.org
State New
Headers show

Commit Message

Steven Liu June 2, 2019, 1:14 p.m.
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
---
 doc/muxers.texi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Gyan June 2, 2019, 1:29 p.m.
On 02-06-2019 06:44 PM, Steven Liu wrote:
> Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
> ---
>   doc/muxers.texi | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/doc/muxers.texi b/doc/muxers.texi
> index 7f3758b117..46580091ba 100644
> --- a/doc/muxers.texi
> +++ b/doc/muxers.texi
> @@ -995,7 +995,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

LGTM.

Also, you can correct the comment on line 1833 of hlsenc.c

defalut --> default

Gyan
Steven Liu June 2, 2019, 1:55 p.m.
> 在 2019年6月2日,21:29,Gyan <ffmpeg@gyani.pro> 写道:
> 
> 
> 
> On 02-06-2019 06:44 PM, Steven Liu wrote:
>> Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
>> ---
>>  doc/muxers.texi | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>> 
>> diff --git a/doc/muxers.texi b/doc/muxers.texi
>> index 7f3758b117..46580091ba 100644
>> --- a/doc/muxers.texi
>> +++ b/doc/muxers.texi
>> @@ -995,7 +995,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
> 
> LGTM.
> 
> Also, you can correct the comment on line 1833 of hlsenc.c
> 
> defalut --> default
Fix local and pushed
> 
> Gyan
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> 
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".

Thanks
Steven

Patch hide | download patch | download mbox

diff --git a/doc/muxers.texi b/doc/muxers.texi
index 7f3758b117..46580091ba 100644
--- a/doc/muxers.texi
+++ b/doc/muxers.texi
@@ -995,7 +995,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