Skip to content

Commit

Permalink
Set best_effort_timestamp when setting pts.
Browse files Browse the repository at this point in the history
  • Loading branch information
toots committed Feb 17, 2024
1 parent 8f3962b commit 828f254
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions avutil/avutil_stubs.c
Original file line number Diff line number Diff line change
Expand Up @@ -643,6 +643,8 @@ CAMLprim value ocaml_avutil_frame_set_pts(value _frame, value _pts) {
else
frame->pts = Int64_val(Field(_pts, 0));

frame->best_effort_timestamp = frame->pts;

CAMLreturn(Val_unit);
}

Expand Down

0 comments on commit 828f254

Please sign in to comment.