[FFmpeg-devel] [PATCH 1/8] fftools/ffmpeg: also flush encoders which have a variable frame size

Marton Balint cus at passwd.hu
Thu Apr 9 00:17:59 EEST 2020



On Sat, 28 Mar 2020, Marton Balint wrote:

> Signed-off-by: Marton Balint <cus at passwd.hu>
> ---
> fftools/ffmpeg.c | 3 ---
> 1 file changed, 3 deletions(-)
>
> diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c
> index aaaf241314..6cc3c5a14d 100644
> --- a/fftools/ffmpeg.c
> +++ b/fftools/ffmpeg.c
> @@ -1913,9 +1913,6 @@ static void flush_encoders(void)
>             }
>         }
> 
> -        if (enc->codec_type == AVMEDIA_TYPE_AUDIO && enc->frame_size <= 1)
> -            continue;
> -
>         if (enc->codec_type != AVMEDIA_TYPE_VIDEO && enc->codec_type != AVMEDIA_TYPE_AUDIO)
>             continue;

Ping for this, will apply soon.

Thanks,
Marton


More information about the ffmpeg-devel mailing list