libarmbox/video.cpp: add missing lines in setBlank()

Fix lost lines in pick 'add armbox'
This commit is contained in:
2018-01-21 13:58:58 +01:00
parent a8c886d166
commit 9395b18f89

View File

@@ -470,6 +470,10 @@ int cVideo::Stop(bool blank)
int cVideo::setBlank(int)
{
fop(ioctl, VIDEO_PLAY);
fop(ioctl, VIDEO_CONTINUE);
video_still_picture sp = { NULL, 0 };
fop(ioctl, VIDEO_STILLPICTURE, &sp);
return Stop(1);
}