diff options
author | Gyan Doshi <ffmpeg@gyani.pro> | 2020-01-02 20:59:00 +0530 |
---|---|---|
committer | Gyan Doshi <ffmpeg@gyani.pro> | 2020-01-05 10:55:36 +0530 |
commit | fa3ad7bbc68d33a08f6b3a03d097ecf37670059d (patch) | |
tree | 650b39abaceebebc30da7f899b0c410ee89915d7 /fftools | |
parent | fa677750de2f2a73bd6685380e46d40358fe0ad0 (diff) | |
download | ffmpeg-fa3ad7bbc68d33a08f6b3a03d097ecf37670059d.tar.gz |
ffmpeg: remove premature rescaling of forced_keyframe times
The user-set forced KF times are parsed *after* this deleted
loop and rescaled right after parsing.
Diffstat (limited to 'fftools')
-rw-r--r-- | fftools/ffmpeg.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c index 9af2bc2fb5..2c5fcc0532 100644 --- a/fftools/ffmpeg.c +++ b/fftools/ffmpeg.c @@ -3367,10 +3367,6 @@ static int init_output_stream_encode(OutputStream *ost) av_log(oc, AV_LOG_WARNING, "Frame rate very high for a muxer not efficiently supporting it.\n" "Please consider specifying a lower framerate, a different muxer or -vsync 2\n"); } - for (j = 0; j < ost->forced_kf_count; j++) - ost->forced_kf_pts[j] = av_rescale_q(ost->forced_kf_pts[j], - AV_TIME_BASE_Q, - enc_ctx->time_base); enc_ctx->width = av_buffersink_get_w(ost->filter->filter); enc_ctx->height = av_buffersink_get_h(ost->filter->filter); |