Commit 4e0cf81b authored by Marton Balint's avatar Marton Balint

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

Signed-off-by: 's avatarMarton Balint <cus@passwd.hu>
parent 14dd0a90
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment