Moved the call to Empty() back into the pmSlow case

This commit is contained in:
Klaus Schmidinger
2025-04-08 14:11:05 +02:00
parent e812221987
commit 2ddf13dfe8
3 changed files with 5 additions and 3 deletions

View File

@@ -3820,3 +3820,4 @@ Andreas Baierl <post@andreasbaierl.de>
for implementing scaling images
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

View File

@@ -10090,7 +10090,7 @@ Video Disk Recorder Revision History
- Added missing locks to SetMenuItem() functions.
- Revised locking in cMenuSchedule and cMenuWhatsOn.
2025-04-05:
2025-04-08:
- Added the "override" keyword to virtual functions reimplemented in derived classes.
Plugins may want to do the same, but don't have to.
@@ -10113,3 +10113,4 @@ Video Disk Recorder Revision History
behave like before, the new "after rewind" turns on subtitles after a fast rewind
during replay, and off again when the point where the rewind was started is reached.
- Removed an unnecessary call to cDevice::GetVideoSize().
- Moved the call to Empty() back into the pmSlow case (thanks to 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.9 2025/03/28 22:49:17 kls Exp $
* $Id: dvbplayer.c 5.10 2025/04/08 14:11:05 kls Exp $
*/
#include "dvbplayer.h"
@@ -793,11 +793,11 @@ void cDvbPlayer::Forward(void)
Pause();
break;
}
Empty();
// run into pmPause
case pmStill:
case pmPause: {
LOCK_THREAD;
Empty();
DeviceMute();
playMode = pmSlow;
playDir = pdForward;