ffmpeg | branch: master | Marton Balint <[email protected]> | 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 <[email protected]>

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

_______________________________________________
ffmpeg-cvslog mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to