Fix deadlock on exit if SKIP_FRAMES disabled
On exit, the renderer will not consume frames anymore, so signal the condition variable to wake up the decoder.
This commit is contained in:
@@ -14,6 +14,7 @@ struct decoder {
|
||||
};
|
||||
|
||||
SDL_bool decoder_start(struct decoder *decoder);
|
||||
void decoder_stop(struct decoder *decoder);
|
||||
void decoder_join(struct decoder *decoder);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user