mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-12-18 22:14:20 +01:00
Handle condition variable failure
Add condition variables function wrappers to handle unexpected failure.
This commit is contained in:
@@ -353,7 +353,7 @@ SDL_bool show_screen(const char *serial, Uint16 local_port) {
|
||||
AVFrame *frame = frames.rendering_frame;
|
||||
frames.rendering_frame_consumed = SDL_TRUE;
|
||||
if (!decoder.skip_frames) {
|
||||
SDL_CondSignal(frames.rendering_frame_consumed_cond);
|
||||
cond_signal(frames.rendering_frame_consumed_cond);
|
||||
}
|
||||
|
||||
struct size current_frame_size = {frame->width, frame->height};
|
||||
|
||||
Reference in New Issue
Block a user