fftools/ffmpeg: reduce -re to -readrate 1

They are exactly equivalent, so there is no point in maintaining a
separate flag for -re.
This commit is contained in:
Anton Khirnov
2023-05-02 15:27:24 +02:00
parent 007ec49db8
commit 0e00d23510
3 changed files with 9 additions and 10 deletions

View File

@@ -1564,7 +1564,7 @@ static int transcode_init(void)
/* init framerate emulation */
for (int i = 0; i < nb_input_files; i++) {
InputFile *ifile = input_files[i];
if (ifile->readrate || ifile->rate_emu)
if (ifile->readrate)
for (int j = 0; j < ifile->nb_streams; j++)
ifile->streams[j]->start = av_gettime_relative();
}