From 9a32b8c62f93b7f105d55fd37e2c82cfc62628b1 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Wed, 23 Jul 2025 08:56:52 +0200 Subject: [PATCH] Added DeviceFreeze() when pausing at the last mark --- CONTRIBUTORS | 1 + HISTORY | 3 ++- dvbplayer.c | 3 ++- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 3fa1bda8..30d0e90a 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -3839,3 +3839,4 @@ Andreas Baierl 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 diff --git a/HISTORY b/HISTORY index e1cc0868..8856244a 100644 --- a/HISTORY +++ b/HISTORY @@ -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). diff --git a/dvbplayer.c b/dvbplayer.c index e7dc7cde..7a3c764f 100644 --- a/dvbplayer.c +++ b/dvbplayer.c @@ -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; }