diff options
author | Mark Kuo <starryalley@gmail.com> | 2020-06-29 12:56:10 +1000 |
---|---|---|
committer | Mark Kuo <starryalley@gmail.com> | 2020-06-29 13:01:54 +1000 |
commit | e435d57758017ae7e92b052dcdd64488934998c1 (patch) | |
tree | 81175eb5946b2738240d4466eb55e2b4bc18b355 /icon.svg | |
parent | 481151be09108a30002ae0a9df118eeddd3987be (diff) |
VideoPlayer: fix possible race condition
In set_stream() we write to 'playback' while accessing the same object
in _mix_audio() in audio thread. Protect the 'write' part in
set_stream() to avoid possible crash in _mix_audio() function.
Diffstat (limited to 'icon.svg')
0 files changed, 0 insertions, 0 deletions