fix HD60/HD61 playback

This commit is contained in:
TangoCash
2020-10-03 12:46:56 +02:00
committed by Thilo Graf
parent e1c1c07b0d
commit f6cf97a321
2 changed files with 6 additions and 0 deletions

View File

@@ -137,6 +137,9 @@ int cAudio::Start(void)
{
int ret;
ret = ioctl(fd, AUDIO_PLAY);
#ifdef BOXMODEL_HD60 || BOXMODEL_HD61
ioctl(fd, AUDIO_CONTINUE);
#endif
return ret;
}

View File

@@ -541,6 +541,9 @@ int cVideo::Start(void * /*PcrChannel*/, unsigned short /*PcrPid*/, unsigned sho
playstate = VIDEO_PLAYING;
fop(ioctl, VIDEO_SELECT_SOURCE, VIDEO_SOURCE_DEMUX);
int res = fop(ioctl, VIDEO_PLAY);
#ifdef BOXMODEL_HD60 || BOXMODEL_HD61
fop(ioctl, VIDEO_CONTINUE);
#endif
if (brightness > -1) {
SetControl(VIDEO_CONTROL_BRIGHTNESS, brightness);
brightness = -1;