mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 23:13:16 +02:00
libspark/video: use VIDEO_STILLPICTURE with NULL pointer to blank screen
This commit is contained in:
@@ -282,6 +282,12 @@ int cVideo::Stop(bool blank)
|
|||||||
|
|
||||||
int cVideo::setBlank(int)
|
int cVideo::setBlank(int)
|
||||||
{
|
{
|
||||||
|
#ifdef MARTII
|
||||||
|
fop(ioctl, VIDEO_PLAY);
|
||||||
|
fop(ioctl, VIDEO_CONTINUE);
|
||||||
|
video_still_picture sp = { NULL, 0 };
|
||||||
|
fop(ioctl, VIDEO_STILLPICTURE, &sp);
|
||||||
|
#endif
|
||||||
return Stop(1);
|
return Stop(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user