Skip to content

Commit

Permalink
libhb: fix decomb/deint bob framerate
Browse files Browse the repository at this point in the history
  • Loading branch information
jstebbins committed Apr 22, 2024
1 parent b125e81 commit 69fece4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libhb/decomb.c
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,10 @@ static int hb_decomb_init(hb_filter_object_t *filter,
eedi2_thread_args->arg.segment = ii;
}
}
if (pv->mode & MODE_DECOMB_BOB)
{
init->vrate.num *= 2;
}

pv->output = *init;

Expand Down
1 change: 1 addition & 0 deletions libhb/deinterlace.c
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ static int deinterlace_init(hb_filter_object_t * filter,
hb_dict_set(avsettings, "mode",
hb_value_string("send_field_nospatial"));
}
init->vrate.num *= 2;
}
else
{
Expand Down

0 comments on commit 69fece4

Please sign in to comment.