Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/video
diff options
context:
space:
mode:
authorMathieu Duponchelle <mathieu@centricular.com>2020-06-03 01:50:36 +0300
committerMathieu Duponchelle <mathieu@centricular.com>2020-06-03 01:51:40 +0300
commitf27173e2b95556b661d59b5b27c10ce9aa34b1f4 (patch)
treeb97f29a479b52153055ed5fcaa3b13c95e6fc212 /video
parent3d26d2f27bff2f67cdd9e32cb847c74220774d91 (diff)
tttocea608: fix pts incrementation in roll up mode
Simple operator mistake Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/351>
Diffstat (limited to 'video')
-rw-r--r--video/closedcaption/src/tttocea608.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/closedcaption/src/tttocea608.rs b/video/closedcaption/src/tttocea608.rs
index 09b043006..387607ef5 100644
--- a/video/closedcaption/src/tttocea608.rs
+++ b/video/closedcaption/src/tttocea608.rs
@@ -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;
}