mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 23:12:44 +02:00
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:
@@ -137,6 +137,9 @@ int cAudio::Start(void)
|
|||||||
{
|
{
|
||||||
int ret;
|
int ret;
|
||||||
ret = ioctl(fd, AUDIO_PLAY);
|
ret = ioctl(fd, AUDIO_PLAY);
|
||||||
|
#ifdef BOXMODEL_HD60 || BOXMODEL_HD61
|
||||||
|
ioctl(fd, AUDIO_CONTINUE);
|
||||||
|
#endif
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -541,6 +541,9 @@ int cVideo::Start(void * /*PcrChannel*/, unsigned short /*PcrPid*/, unsigned sho
|
|||||||
playstate = VIDEO_PLAYING;
|
playstate = VIDEO_PLAYING;
|
||||||
fop(ioctl, VIDEO_SELECT_SOURCE, VIDEO_SOURCE_DEMUX);
|
fop(ioctl, VIDEO_SELECT_SOURCE, VIDEO_SOURCE_DEMUX);
|
||||||
int res = fop(ioctl, VIDEO_PLAY);
|
int res = fop(ioctl, VIDEO_PLAY);
|
||||||
|
#ifdef BOXMODEL_HD60 || BOXMODEL_HD61
|
||||||
|
fop(ioctl, VIDEO_CONTINUE);
|
||||||
|
#endif
|
||||||
if (brightness > -1) {
|
if (brightness > -1) {
|
||||||
SetControl(VIDEO_CONTROL_BRIGHTNESS, brightness);
|
SetControl(VIDEO_CONTROL_BRIGHTNESS, brightness);
|
||||||
brightness = -1;
|
brightness = -1;
|
||||||
|
Reference in New Issue
Block a user