Skip to content

Commit

Permalink
Fix a problem with arbitrary, time seeks.
Browse files Browse the repository at this point in the history
Commit afaeef4 mistakenly changed a case that really shold use
integer division.
  • Loading branch information
gigem authored and linuxdude42 committed Nov 29, 2019
1 parent e878296 commit 11a7986
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythtv/libs/libmythtv/tv_play.cpp
Expand Up @@ -6634,7 +6634,7 @@ void TV::DoArbSeek(PlayerContext *ctx, ArbSeekWhence whence,
if (!ok)
return;

float time = ((seek / 100.0F) * 3600) + ((seek % 100) * 60);
float time = (int(seek / 100) * 3600) + ((seek % 100) * 60);

if (whence == ARBSEEK_FORWARD)
DoSeek(ctx, time, tr("Jump Ahead"),
Expand Down

0 comments on commit 11a7986

Please sign in to comment.