[FFmpeg-cvslog] fftools/ffmpeg: also flush encoders which have a variable frame size

Marton Balint git at videolan.org
Mon Apr 13 01:32:37 EEST 2020


ffmpeg | branch: master | Marton Balint <cus at passwd.hu> | Wed Mar 25 00:27:45 2020 +0100| [4e0cf81b49b59da3ecaea30dc988a9bf5a8d9431] | committer: Marton Balint

fftools/ffmpeg: also flush encoders which have a variable frame size

Signed-off-by: Marton Balint <cus at passwd.hu>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4e0cf81b49b59da3ecaea30dc988a9bf5a8d9431
---

 fftools/ffmpeg.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c
index 3322723748..0578265c1e 100644
--- a/fftools/ffmpeg.c
+++ b/fftools/ffmpeg.c
@@ -1915,9 +1915,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;
 



More information about the ffmpeg-cvslog mailing list