summaryrefslogtreecommitdiff
path: root/fftools/ffmpeg.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2023-05-02 15:27:24 +0200
committerAnton Khirnov <anton@khirnov.net>2023-05-07 15:49:27 +0200
commit0e00d2351003dc21532e440dd63fdec9b5aab9e9 (patch)
treecce9d134cb0856426e72645ff4fc488ac25509f3 /fftools/ffmpeg.c
parent007ec49db8f3eb9dfc9cfc4f981f3fcda8e3335d (diff)
downloadffmpeg-0e00d2351003dc21532e440dd63fdec9b5aab9e9.tar.gz
fftools/ffmpeg: reduce -re to -readrate 1
They are exactly equivalent, so there is no point in maintaining a separate flag for -re.
Diffstat (limited to 'fftools/ffmpeg.c')
-rw-r--r--fftools/ffmpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c
index 8323c32ffd..afdb049f4e 100644
--- a/fftools/ffmpeg.c
+++ b/fftools/ffmpeg.c
@@ -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();
}