mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-23 19:30:05 +00:00
lavfi/concat: fix logic error in framerate check
fix logic error in framerate check, it's introduced by commit
3ad5d4df9c
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
This commit is contained in:
parent
4e759b5675
commit
a0abcb4a31
@ -136,7 +136,7 @@ static int config_output(AVFilterLink *outlink)
|
|||||||
for (seg = 1; seg < cat->nb_segments; seg++) {
|
for (seg = 1; seg < cat->nb_segments; seg++) {
|
||||||
inlink = ctx->inputs[in_no + seg * ctx->nb_outputs];
|
inlink = ctx->inputs[in_no + seg * ctx->nb_outputs];
|
||||||
if (outlink->frame_rate.num != inlink->frame_rate.num ||
|
if (outlink->frame_rate.num != inlink->frame_rate.num ||
|
||||||
outlink->frame_rate.den != outlink->frame_rate.den) {
|
outlink->frame_rate.den != inlink->frame_rate.den) {
|
||||||
av_log(ctx, AV_LOG_VERBOSE,
|
av_log(ctx, AV_LOG_VERBOSE,
|
||||||
"Video inputs have different frame rates, output will be VFR\n");
|
"Video inputs have different frame rates, output will be VFR\n");
|
||||||
outlink->frame_rate = av_make_q(1, 0);
|
outlink->frame_rate = av_make_q(1, 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user