diff options
author | Mathieu Duponchelle <mathieu@centricular.com> | 2020-06-03 01:50:36 +0300 |
---|---|---|
committer | Mathieu Duponchelle <mathieu@centricular.com> | 2020-06-03 01:51:40 +0300 |
commit | f27173e2b95556b661d59b5b27c10ce9aa34b1f4 (patch) | |
tree | b97f29a479b52153055ed5fcaa3b13c95e6fc212 /video | |
parent | 3d26d2f27bff2f67cdd9e32cb847c74220774d91 (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.rs | 2 |
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; } |