mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Fixed the 'VideoOnly' condition in the PlayPes() and PlayTs() calls in cDvbPlayer::Action()
This commit is contained in:
parent
5ee2a21c8a
commit
43d25f07de
@ -1201,6 +1201,8 @@ Reinhard Nissl <rnissl@gmx.de>
|
|||||||
for reporting that the PAT/PMT is processed too often, even if its version
|
for reporting that the PAT/PMT is processed too often, even if its version
|
||||||
hasn't changed
|
hasn't changed
|
||||||
for making sure vdr-xine no longer needs cDvbPlayer::Action() to call DeviceFlush()
|
for making sure vdr-xine no longer needs cDvbPlayer::Action() to call DeviceFlush()
|
||||||
|
for fixing the 'VideoOnly' condition in the PlayPes() and PlayTs() calls in
|
||||||
|
cDvbPlayer::Action()
|
||||||
|
|
||||||
Richard Robson <richard_robson@beeb.net>
|
Richard Robson <richard_robson@beeb.net>
|
||||||
for reporting freezing replay if a timer starts while in Transfer Mode from the
|
for reporting freezing replay if a timer starts while in Transfer Mode from the
|
||||||
|
2
HISTORY
2
HISTORY
@ -6018,3 +6018,5 @@ Video Disk Recorder Revision History
|
|||||||
- Now freeing configDirectory before setting it to a new value in
|
- Now freeing configDirectory before setting it to a new value in
|
||||||
cPlugin::SetConfigDirectory().
|
cPlugin::SetConfigDirectory().
|
||||||
- Fixed a crash when jumping to an editing mark in an audio recording.
|
- Fixed a crash when jumping to an editing mark in an audio recording.
|
||||||
|
- Fixed the 'VideoOnly' condition in the PlayPes() and PlayTs() calls in
|
||||||
|
cDvbPlayer::Action() (thanks to Reinhard Nissl).
|
||||||
|
@ -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.8 2009/04/05 10:11:26 kls Exp $
|
* $Id: dvbplayer.c 2.9 2009/04/05 10:55:11 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "dvbplayer.h"
|
#include "dvbplayer.h"
|
||||||
@ -531,9 +531,9 @@ void cDvbPlayer::Action(void)
|
|||||||
while (pc > 0) {
|
while (pc > 0) {
|
||||||
int w;
|
int w;
|
||||||
if (isPesRecording)
|
if (isPesRecording)
|
||||||
w = PlayPes(p, pc, playMode != pmPlay && DeviceIsPlayingVideo());
|
w = PlayPes(p, pc, playMode != pmPlay && !(playMode == pmSlow && playDir == pdForward) && DeviceIsPlayingVideo());
|
||||||
else
|
else
|
||||||
w = PlayTs(p, TS_SIZE, playMode != pmPlay && DeviceIsPlayingVideo());
|
w = PlayTs(p, TS_SIZE, playMode != pmPlay && !(playMode == pmSlow && playDir == pdForward) && DeviceIsPlayingVideo());
|
||||||
if (w > 0) {
|
if (w > 0) {
|
||||||
p += w;
|
p += w;
|
||||||
pc -= w;
|
pc -= w;
|
||||||
|
Loading…
Reference in New Issue
Block a user