]> git.sesse.net Git - ffmpeg/commit
ffmpeg_opts: remove lowres check
authorJames Almer <jamrial@gmail.com>
Fri, 8 Jan 2021 20:47:41 +0000 (17:47 -0300)
committerJames Almer <jamrial@gmail.com>
Thu, 21 Jan 2021 13:22:41 +0000 (10:22 -0300)
commita423bc9dc294c32e6162b900b58b1cc2d3c3328d
tree17795e3f1b960554c947c7fa003ec34a0d179ad4
parentf07a8b13f38bbd52d55c52d1d6ea1265b13c7a84
ffmpeg_opts: remove lowres check

The st->codec values are updated based on the lowres factor by
avformat_find_stream_info() when it runs an instance of the decoder internally,
and the same thing happens in ffmpeg.c when we open ist->dec_ctx with
avcodec_open2(), so these assignments are redundant.

Signed-off-by: James Almer <jamrial@gmail.com>
fftools/ffmpeg_opt.c