mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-12-18 14:04:20 +01:00
Rename "stop" to "interrupt"
The purpose of video_buffer_stop() is to interrupt any blocking call, so rename it to video_buffer_interrupt().
This commit is contained in:
@@ -317,7 +317,7 @@ SDL_bool decoder_start(struct decoder *decoder) {
|
||||
}
|
||||
|
||||
void decoder_stop(struct decoder *decoder) {
|
||||
video_buffer_stop(decoder->video_buffer);
|
||||
video_buffer_interrupt(decoder->video_buffer);
|
||||
}
|
||||
|
||||
void decoder_join(struct decoder *decoder) {
|
||||
|
||||
Reference in New Issue
Block a user