making the window close and stop audio properly

This commit is contained in:
Chris Cochrun 2022-09-16 06:03:41 -05:00
parent 9a180f7df0
commit 9f9026105f
3 changed files with 20 additions and 14 deletions

View file

@ -171,6 +171,10 @@ Item {
showPassiveNotification("Black is: " + black.visible);
}
function quitMpv() {
mpv.quit();
}
function pauseVideo() {
mpv.pause();
}