fix HD60/HD61 playback

Origin commit data
------------------
Branch: master
Commit: b73eaf403d
Author: TangoCash <eric@loxat.de>
Date: 2020-10-03 (Sat, 03 Oct 2020)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
TangoCash
2020-10-03 12:46:56 +02:00
committed by vanhofen
parent fb90449cda
commit cab21ffcc8
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;