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

Marton Balint cus at passwd.hu
Mon Apr 13 01:32:58 EEST 2020



On Wed, 8 Apr 2020, Marton Balint wrote:

>
>
> 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.

Applied.

Regards,
Marton


More information about the ffmpeg-devel mailing list