iRound up when computing number of frames. - vtv-tools - virtual terminal video tools Err bitreich.org 70
hgit clone git://bitreich.org/vtv-tools git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/vtv-tools URL:git://bitreich.org/vtv-tools git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/vtv-tools bitreich.org 70
1Log /scm/vtv-tools/log.gph bitreich.org 70
1Files /scm/vtv-tools/files.gph bitreich.org 70
1Refs /scm/vtv-tools/refs.gph bitreich.org 70
1Tags /scm/vtv-tools/tag bitreich.org 70
1README /scm/vtv-tools/file/README.md.gph bitreich.org 70
1LICENSE /scm/vtv-tools/file/LICENSE.gph bitreich.org 70
i--- Err bitreich.org 70
1commit 3845cc906aef5672cd3c68dc3991565ba9f27169 /scm/vtv-tools/commit/3845cc906aef5672cd3c68dc3991565ba9f27169.gph bitreich.org 70
1parent 331634ec6b52c5c8d5ac59ef3d950bae0d24c24c /scm/vtv-tools/commit/331634ec6b52c5c8d5ac59ef3d950bae0d24c24c.gph bitreich.org 70
hAuthor: Troels Henriksen <athas@sigkill.dk> URL:mailto:athas@sigkill.dk bitreich.org 70
iDate: Tue, 28 May 2024 14:51:26 +0200 Err bitreich.org 70
i Err bitreich.org 70
iRound up when computing number of frames. Err bitreich.org 70
i Err bitreich.org 70
iDiffstat: Err bitreich.org 70
i M src/vtv-player.c | 2 +- Err bitreich.org 70
i Err bitreich.org 70
i1 file changed, 1 insertion(+), 1 deletion(-) Err bitreich.org 70
i--- Err bitreich.org 70
1diff --git a/src/vtv-player.c b/src/vtv-player.c /scm/vtv-tools/file/src/vtv-player.c.gph bitreich.org 70
i@@ -59,7 +59,7 @@ int main(int argc, char* argv[]) { Err bitreich.org 70
i exit(1); Err bitreich.org 70
i } Err bitreich.org 70
i Err bitreich.org 70
i- int num_frames = vtv->num_lines / frame_lines; Err bitreich.org 70
i+ int num_frames = (vtv->num_lines + frame_lines - 1) / frame_lines; Err bitreich.org 70
i Err bitreich.org 70
i hide_cursor(); Err bitreich.org 70
i clear_screen(); Err bitreich.org 70
.
Response:
text/plain