diff options
author | Anton Khirnov <anton@khirnov.net> | 2023-05-02 15:27:24 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2023-05-07 15:49:27 +0200 |
commit | 0e00d2351003dc21532e440dd63fdec9b5aab9e9 (patch) | |
tree | cce9d134cb0856426e72645ff4fc488ac25509f3 /fftools/ffmpeg.c | |
parent | 007ec49db8f3eb9dfc9cfc4f981f3fcda8e3335d (diff) | |
download | ffmpeg-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.c | 2 |
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(); } |