Browse Source

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

Signed-off-by: Marton Balint <cus@passwd.hu>
tags/n4.3
Marton Balint 5 years ago
parent
commit
4e0cf81b49
1 changed files with 0 additions and 3 deletions
  1. +0
    -3
      fftools/ffmpeg.c

+ 0
- 3
fftools/ffmpeg.c View File

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



Loading…
Cancel
Save