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:
Mathieu Duponchelle 2020-06-03 00:50:36 +02:00
parent 3d26d2f27b
commit f27173e2b9

View file

@ -58,7 +58,7 @@ fn increment_pts(
.mul_div_round(fps_d, fps_n) .mul_div_round(fps_d, fps_n)
.unwrap(); .unwrap();
if *frame_no <= max_frame_no { if *frame_no < max_frame_no {
*frame_no += 1; *frame_no += 1;
} }