diff options
author | Anton Khirnov <anton@khirnov.net> | 2021-02-08 12:22:13 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2021-02-22 11:14:40 +0100 |
commit | 82a2cbf820420bfd7f8df6284dcb94c415ce6f09 (patch) | |
tree | f727ec776d0e98be2e97eae3133a53a19fd79c1a /fftools | |
parent | 313c91beb8a0185061f8c960bc6ae191de36fff3 (diff) | |
download | ffmpeg-82a2cbf820420bfd7f8df6284dcb94c415ce6f09.tar.gz |
ffprobe: stop setting AVCodecContext.framerate
That field is supposed to be exported by decoders, it makes no sense for
a user to set it.
Diffstat (limited to 'fftools')
-rw-r--r-- | fftools/ffprobe.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fftools/ffprobe.c b/fftools/ffprobe.c index 6a3dd549ec..de70c20eb4 100644 --- a/fftools/ffprobe.c +++ b/fftools/ffprobe.c @@ -3034,7 +3034,6 @@ static int open_input_file(InputFile *ifile, const char *filename, } ist->dec_ctx->pkt_timebase = stream->time_base; - ist->dec_ctx->framerate = stream->avg_frame_rate; if (avcodec_open2(ist->dec_ctx, codec, &opts) < 0) { av_log(NULL, AV_LOG_WARNING, "Could not open codec for input stream %d\n", |