From 435018bf4fa749a69e9178a569347885ebeeec64 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Fri, 16 Aug 2002 09:27:53 +0200 Subject: Always doing the 'special handling to return from PCM replay' --- dvbdevice.c | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/dvbdevice.c b/dvbdevice.c index 54da3bde..6be882fa 100644 --- a/dvbdevice.c +++ b/dvbdevice.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: dvbdevice.c 1.6 2002/08/16 09:22:29 kls Exp $ + * $Id: dvbdevice.c 1.7 2002/08/16 09:27:53 kls Exp $ */ #include "dvbdevice.h" @@ -580,12 +580,11 @@ bool cDvbDevice::SetPlayMode(ePlayMode PlayMode) switch (PlayMode) { case pmNone: - if (playMode == pmAudioOnly) { - // special "handling" to return from PCM replay - CHECK(ioctl(fd_video, VIDEO_SET_BLANK, true)); - CHECK(ioctl(fd_video, VIDEO_SELECT_SOURCE, VIDEO_SOURCE_MEMORY)); - CHECK(ioctl(fd_video, VIDEO_PLAY)); - } + // special handling to return from PCM replay: + CHECK(ioctl(fd_video, VIDEO_SET_BLANK, true)); + CHECK(ioctl(fd_video, VIDEO_SELECT_SOURCE, VIDEO_SOURCE_MEMORY)); + CHECK(ioctl(fd_video, VIDEO_PLAY)); + CHECK(ioctl(fd_video, VIDEO_STOP, true)); CHECK(ioctl(fd_audio, AUDIO_STOP, true)); CHECK(ioctl(fd_video, VIDEO_CLEAR_BUFFER)); -- cgit v1.2.3