[mythtv-commits] [MythTV/mythtv] b2ed40: Update file size before skip forward

kmdewaal noreply at github.com
Sat May 1 19:50:49 UTC 2021

  Branch: refs/heads/fixes/31
  Home:   https://github.com/MythTV/mythtv
  Commit: b2ed400037de11c7e5546381e60cc9de7b1e15eb
  Author: Klaas de Waal <kdewaal at mythtv.org>
  Date:   2021-05-01 (Sat, 01 May 2021)

  Changed paths:
    M mythtv/libs/libmythtv/mythplayer.cpp

  Log Message:
  Update file size before skip forward

Get the actual file size before determining if it is
possible to skip the requested amount of seconds forward.
When the skip forward would go beyond the end of the file
the skip is modified so that it goes to the end of the
file instead. This gives the wrong result when the file
size information is not correct.

Backported from commit dbe165f81aa118871958b0663934a2f42edf464a in master.

Refs #352

More information about the mythtv-commits mailing list