diff options
Diffstat (limited to 'dvbdevice.c')
-rw-r--r-- | dvbdevice.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/dvbdevice.c b/dvbdevice.c index a1b2cfc4..942abf11 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 2.13 2009/04/05 10:42:59 kls Exp $ + * $Id: dvbdevice.c 2.14 2009/04/10 09:54:24 kls Exp $ */ #include "dvbdevice.h" @@ -1172,8 +1172,10 @@ void cDvbDevice::Play(void) CHECK(ioctl(fd_audio, AUDIO_CONTINUE)); } else { - if (fd_audio >= 0) + if (fd_audio >= 0) { CHECK(ioctl(fd_audio, AUDIO_SET_AV_SYNC, true)); + CHECK(ioctl(fd_audio, AUDIO_CONTINUE)); + } if (fd_video >= 0) CHECK(ioctl(fd_video, VIDEO_CONTINUE)); } @@ -1187,8 +1189,10 @@ void cDvbDevice::Freeze(void) CHECK(ioctl(fd_audio, AUDIO_PAUSE)); } else { - if (fd_audio >= 0) + if (fd_audio >= 0) { CHECK(ioctl(fd_audio, AUDIO_SET_AV_SYNC, false)); + CHECK(ioctl(fd_audio, AUDIO_PAUSE)); + } if (fd_video >= 0) CHECK(ioctl(fd_video, VIDEO_FREEZE)); } |