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:
Romain Vimont
2019-03-02 17:01:52 +01:00
parent fff87095d9
commit 84270e2d18
3 changed files with 7 additions and 7 deletions

View File

@@ -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) {