Added DeviceFreeze() when pausing at the last mark

This commit is contained in:
Klaus Schmidinger
2025-07-23 08:56:52 +02:00
parent f1b52167c0
commit 9a32b8c62f
3 changed files with 5 additions and 2 deletions

View File

@@ -3839,3 +3839,4 @@ Andreas Baierl <post@andreasbaierl.de>
for reporting a problem in the progress display when switching from "pause" to
"slow back"
for moving the call to Empty() back into the pmSlow case
for reporting a missing DeviceFreeze() when pausing at the last mark

View File

@@ -10138,7 +10138,7 @@ Video Disk Recorder Revision History
- Fixed an invalid lock sequence when pressing the Channel+/Channel- keys while in the
"What's on..." menu in live view.
2025-07-22:
2025-07-23:
- Fixed cPoller::Poll() to allow negative timeout values again.
- When regenerating the index of a recording, PID changes are now taken into account
@@ -10174,3 +10174,4 @@ Video Disk Recorder Revision History
closed (reported by Markus Ehrnsperger).
- Shutdown now takes into account the VPS margin (reported by Christoph Haubrich).
- Fixed an 'invalid lock sequence' when deleting the timeshift timer.
- Added DeviceFreeze() when pausing at the last mark (reported by Andreas Baierl).

View File

@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
* $Id: dvbplayer.c 5.11 2025/04/08 14:16:57 kls Exp $
* $Id: dvbplayer.c 5.12 2025/07/23 08:56:52 kls Exp $
*/
#include "dvbplayer.h"
@@ -679,6 +679,7 @@ void cDvbPlayer::Action(void)
else {
if (AtLastMark) {
if (Setup.PauseAtLastMark) {
DeviceFreeze();
playMode = pmPause;
AtLastMark = false;
}