mirror of
https://github.com/pikvm/ustreamer.git
synced 2026-02-18 02:55:46 +00:00
v4p: better messages
This commit is contained in:
parent
b202438a4d
commit
1c862b21e9
@ -261,6 +261,9 @@ static void _drm_cleanup(us_drm_s *drm) {
|
||||
run->crtc_id = 0;
|
||||
run->next_n_buf = 0;
|
||||
run->has_vsync = false;
|
||||
if (run->state == US_DRM_STATE_OK) {
|
||||
_D_LOG_INFO("Stopped");
|
||||
}
|
||||
run->state = US_DRM_STATE_CLOSED;
|
||||
}
|
||||
|
||||
@ -351,7 +354,7 @@ error:
|
||||
|
||||
unplugged:
|
||||
if (run->state != US_DRM_STATE_NO_DISPLAY) {
|
||||
_D_LOG_INFO("Display %s unplugged", drm->port);
|
||||
_D_LOG_INFO("Display %s is not plugged", drm->port);
|
||||
}
|
||||
_drm_cleanup(drm);
|
||||
run->state = US_DRM_STATE_NO_DISPLAY;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user