libspark/video: use VIDEO_STILLPICTURE with NULL pointer to blank screen

Origin commit data
------------------
Branch: master
Commit: 4e9395f788
Author: martii <m4rtii@gmx.de>
Date: 2013-05-25 (Sat, 25 May 2013)


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

------------------
This commit was generated by Migit
This commit is contained in:
martii
2013-05-25 16:48:30 +02:00
parent 979e4400ea
commit 1cf11b3a32

View File

@@ -282,6 +282,12 @@ int cVideo::Stop(bool blank)
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);
}