mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Fixed possible audio chatter when a recording is replayed to its very end
This commit is contained in:
parent
a9c9b76aeb
commit
36e4202c14
3
HISTORY
3
HISTORY
@ -7534,7 +7534,7 @@ Video Disk Recorder Revision History
|
|||||||
- Reduced the number of retries in cTransfer::Receive() to avoid blocking recordings
|
- Reduced the number of retries in cTransfer::Receive() to avoid blocking recordings
|
||||||
in case the primary device can't handle the current live signal.
|
in case the primary device can't handle the current live signal.
|
||||||
|
|
||||||
2013-01-25: Version 1.7.37
|
2013-01-27: Version 1.7.37
|
||||||
|
|
||||||
- Now also using FindHeader() in cMpeg2Fixer::AdjTref() (pointed out by Sören Moch).
|
- Now also using FindHeader() in cMpeg2Fixer::AdjTref() (pointed out by Sören Moch).
|
||||||
- Added missing template for DVBDIR to Make.config.template (reported by Derek Kelly).
|
- Added missing template for DVBDIR to Make.config.template (reported by Derek Kelly).
|
||||||
@ -7550,3 +7550,4 @@ Video Disk Recorder Revision History
|
|||||||
- Improved responsiveness during replay when close to the recording's end.
|
- Improved responsiveness during replay when close to the recording's end.
|
||||||
- Fixed a leftover progress display in the LCARS main menu when replay of a recording
|
- Fixed a leftover progress display in the LCARS main menu when replay of a recording
|
||||||
ends while the menu is open, and the live channel has no EPG information.
|
ends while the menu is open, and the live channel has no EPG information.
|
||||||
|
- Fixed possible audio chatter when a recording is replayed to its very end.
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
* See the main source file 'vdr.c' for copyright information and
|
* See the main source file 'vdr.c' for copyright information and
|
||||||
* how to reach the author.
|
* how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: dvbplayer.c 2.28 2012/06/09 14:37:24 kls Exp $
|
* $Id: dvbplayer.c 2.29 2013/01/27 14:03:16 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "dvbplayer.h"
|
#include "dvbplayer.h"
|
||||||
@ -548,10 +548,11 @@ void cDvbPlayer::Action(void)
|
|||||||
}
|
}
|
||||||
if (p) {
|
if (p) {
|
||||||
int w;
|
int w;
|
||||||
|
bool VideoOnly = (dropFrame || playMode != pmPlay && !(playMode == pmSlow && playDir == pdForward)) && DeviceIsPlayingVideo();
|
||||||
if (isPesRecording)
|
if (isPesRecording)
|
||||||
w = PlayPes(p, pc, playMode != pmPlay && !(playMode == pmSlow && playDir == pdForward) && DeviceIsPlayingVideo());
|
w = PlayPes(p, pc, VideoOnly);
|
||||||
else
|
else
|
||||||
w = PlayTs(p, pc, playMode != pmPlay && !(playMode == pmSlow && playDir == pdForward) && DeviceIsPlayingVideo());
|
w = PlayTs(p, pc, VideoOnly);
|
||||||
if (w > 0) {
|
if (w > 0) {
|
||||||
p += w;
|
p += w;
|
||||||
pc -= w;
|
pc -= w;
|
||||||
|
Loading…
Reference in New Issue
Block a user