mirror of
https://github.com/pikvm/ustreamer.git
synced 2025-12-23 18:50:00 +00:00
ustreamer/drm: fixed assertion
This commit is contained in:
parent
7015a26a63
commit
f177300e69
@ -484,6 +484,10 @@ static void *_drm_thread(void *v_ctx) {
|
||||
_worker_context_s *ctx = v_ctx;
|
||||
us_stream_runtime_s *run = ctx->stream->run;
|
||||
|
||||
// Close previously opened DRM for a stub
|
||||
us_drm_close(run->drm);
|
||||
run->drm_opened = -1;
|
||||
|
||||
us_capture_hwbuf_s *prev_hw = NULL;
|
||||
while (!atomic_load(ctx->stop)) {
|
||||
# define CHECK(x_arg) if ((x_arg) < 0) { goto close; }
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user