quirks: Add QUIRK_VTCAPTURE_FORCE_CAPTURE
Needs to be merged after https://github.com/webosbrew/hyperion-webos/pull/79
vtCapture quirk enhancement.
Designed to be used with a custom kernel module. Puts a call over ioctl to this module, when we get an error while dequeuing a frame buffer, or having errors to start capture.
This also fixes a bug in vtCapture, where captured image is still black when switching from secure video content, back to "normal".
Which part exactly is responsible for
fixes a bug in vtCapture, where captured image is still black when switching from secure video content, back to "normal".
?
We have never done something when capture was hanging, just giving info and returning without further processing. Now we are returning -99 which indicates a termination of the running video capture. Return: https://github.com/webosbrew/hyperion-webos/blob/3c5cce85bff4a4a0bd6da1d4a1564b47abb769ce/src/backends/libvtcapture.cpp#L277 Stopping: https://github.com/webosbrew/hyperion-webos/blob/3c5cce85bff4a4a0bd6da1d4a1564b47abb769ce/src/unicapture.c#L89 As video capture is still enabled, but now not running anymore it just gets started again in normal routine: https://github.com/webosbrew/hyperion-webos/blob/3c5cce85bff4a4a0bd6da1d4a1564b47abb769ce/src/unicapture.c#L146