mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 23:21:06 +01:00
ffprobe: stop setting AVCodecContext.framerate
That field is supposed to be exported by decoders, it makes no sense for a user to set it.
This commit is contained in:
parent
313c91beb8
commit
82a2cbf820
1 changed files with 0 additions and 1 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue