wlgrab: Fix ram (software encoding) snapshot
This commit is contained in:
parent
3d179a869a
commit
44ac873100
3 changed files with 18 additions and 12 deletions
|
|
@ -261,10 +261,9 @@ public:
|
|||
img->sequence = sequence;
|
||||
|
||||
img->sd = current_frame->sd;
|
||||
img->sd.obj_count = current_frame->obj_count;
|
||||
|
||||
// Prevent dmabuf from closing the file descriptors.
|
||||
current_frame->obj_count = 0;
|
||||
current_frame->close_fds = false;
|
||||
|
||||
return platf::capture_e::ok;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue