mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 23:12:44 +02:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user