mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-04 06:08:26 +02:00
fftools/ffmpeg_enc: reindent after previous commit
This commit is contained in:
parent
411ada649f
commit
d65d0f4df1
@ -249,15 +249,15 @@ static int enc_choose_timebase(OutputStream *ost, AVFrame *frame)
|
||||
}
|
||||
|
||||
if (fr.num > 0) {
|
||||
if (enc->codec->supported_framerates && !ost->force_fps) {
|
||||
int idx = av_find_nearest_q_idx(fr, enc->codec->supported_framerates);
|
||||
fr = enc->codec->supported_framerates[idx];
|
||||
}
|
||||
// reduce frame rate for mpeg4 to be within the spec limits
|
||||
if (enc->codec_id == AV_CODEC_ID_MPEG4) {
|
||||
av_reduce(&fr.num, &fr.den,
|
||||
fr.num, fr.den, 65535);
|
||||
}
|
||||
if (enc->codec->supported_framerates && !ost->force_fps) {
|
||||
int idx = av_find_nearest_q_idx(fr, enc->codec->supported_framerates);
|
||||
fr = enc->codec->supported_framerates[idx];
|
||||
}
|
||||
// reduce frame rate for mpeg4 to be within the spec limits
|
||||
if (enc->codec_id == AV_CODEC_ID_MPEG4) {
|
||||
av_reduce(&fr.num, &fr.den,
|
||||
fr.num, fr.den, 65535);
|
||||
}
|
||||
}
|
||||
|
||||
if (av_q2d(fr) > 1e3 && ost->vsync_method != VSYNC_PASSTHROUGH &&
|
||||
|
Loading…
x
Reference in New Issue
Block a user