Mailing List Archive

[MythTV/mythtv] b2ed40: Update file size before skip forward
Branch: refs/heads/fixes/31
Home: https://github.com/MythTV/mythtv
Commit: b2ed400037de11c7e5546381e60cc9de7b1e15eb
https://github.com/MythTV/mythtv/commit/b2ed400037de11c7e5546381e60cc9de7b1e15eb
Author: Klaas de Waal <kdewaal@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


_______________________________________________
mythtv-commits mailing list
mythtv-commits@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-commits