diff mbox series

[FFmpeg-devel] ffmpeg_mux_init: correct log suggestion

Message ID 20240917111546.597-1-ffmpeg@gyani.pro
State New
Headers show
Series [FFmpeg-devel] ffmpeg_mux_init: correct log suggestion | expand

Checks

Context Check Description
yinshiyou/make_loongarch64 success Make finished
yinshiyou/make_fate_loongarch64 success Make fate finished
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Gyan Doshi Sept. 17, 2024, 11:15 a.m. UTC
The option is enc_time_base, not enc_timebase
---
 fftools/ffmpeg_mux_init.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Anton Khirnov Sept. 17, 2024, 12:15 p.m. UTC | #1
Quoting Gyan Doshi (2024-09-17 13:15:45)
> The option is enc_time_base, not enc_timebase
> ---
>  fftools/ffmpeg_mux_init.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/fftools/ffmpeg_mux_init.c b/fftools/ffmpeg_mux_init.c
> index 30d74d37bd..571c9808b9 100644
> --- a/fftools/ffmpeg_mux_init.c
> +++ b/fftools/ffmpeg_mux_init.c
> @@ -1365,7 +1365,7 @@ static int ost_add(Muxer *mux, const OptionsContext *o, enum AVMediaType type,
>  #if FFMPEG_OPT_ENC_TIME_BASE_NUM
>                  if (q.num < 0)
>                      av_log(ost, AV_LOG_WARNING, "-enc_time_base -1 is deprecated,"
> -                           " use -enc_timebase demux\n");
> +                           " use -enc_time_base demux\n");

ok
Gyan Doshi Sept. 19, 2024, 10:06 a.m. UTC | #2
On 2024-09-17 05:45 pm, Anton Khirnov wrote:
> Quoting Gyan Doshi (2024-09-17 13:15:45)
>> The option is enc_time_base, not enc_timebase
>> ---
>>   fftools/ffmpeg_mux_init.c | 2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/fftools/ffmpeg_mux_init.c b/fftools/ffmpeg_mux_init.c
>> index 30d74d37bd..571c9808b9 100644
>> --- a/fftools/ffmpeg_mux_init.c
>> +++ b/fftools/ffmpeg_mux_init.c
>> @@ -1365,7 +1365,7 @@ static int ost_add(Muxer *mux, const OptionsContext *o, enum AVMediaType type,
>>   #if FFMPEG_OPT_ENC_TIME_BASE_NUM
>>                   if (q.num < 0)
>>                       av_log(ost, AV_LOG_WARNING, "-enc_time_base -1 is deprecated,"
>> -                           " use -enc_timebase demux\n");
>> +                           " use -enc_time_base demux\n");
> ok
>

Pushed as 0d5b68c27cc18095aeb61ffcb9684ca7f13cfb91

Regards,
Gyan
diff mbox series

Patch

diff --git a/fftools/ffmpeg_mux_init.c b/fftools/ffmpeg_mux_init.c
index 30d74d37bd..571c9808b9 100644
--- a/fftools/ffmpeg_mux_init.c
+++ b/fftools/ffmpeg_mux_init.c
@@ -1365,7 +1365,7 @@  static int ost_add(Muxer *mux, const OptionsContext *o, enum AVMediaType type,
 #if FFMPEG_OPT_ENC_TIME_BASE_NUM
                 if (q.num < 0)
                     av_log(ost, AV_LOG_WARNING, "-enc_time_base -1 is deprecated,"
-                           " use -enc_timebase demux\n");
+                           " use -enc_time_base demux\n");
 #endif
             }