Project

General

Profile

Actions

Bug #836

closed

PiCam doesn't always start

Added by Hammel over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Immediate
Assignee:
Start date:
17 Apr 2021
Due date:
% Done:

100%

Estimated time:
Severity:
01 - Critical

Description

Sometimes the display flashes between the changed vt and the X vt and then the screen goes blank. When this happens the player is running but not displaying.

I think the reason for this may be the usleep(500) after the chvt() call when the player is being launched. The usleep() is in nanoseconds, so this is probably not long enough. A 250ms sleep (aka usleep(250000)) would not be noticed by the user and probably be enough to avoid this issue.

The same usleep(500) is in videofe.

Actions

Also available in: Atom PDF