mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-12-23 02:26:35 +00:00
tttocea608: fix pts incrementation in roll up mode
Simple operator mistake Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/351>
This commit is contained in:
parent
3d26d2f27b
commit
f27173e2b9
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ fn increment_pts(
|
|||
.mul_div_round(fps_d, fps_n)
|
||||
.unwrap();
|
||||
|
||||
if *frame_no <= max_frame_no {
|
||||
if *frame_no < max_frame_no {
|
||||
*frame_no += 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue