fix(player): load subtitle sidecars with media

close #1583
This commit is contained in:
edde746
2026-07-17 23:09:07 +02:00
parent 70cd7e8c67
commit a1b6a89714
77 changed files with 2879 additions and 699 deletions
+4
View File
@@ -544,6 +544,10 @@ void MpvPlayer::HandleMpvEvent(mpv_event* event) {
SendEvent("end-file", data);
break;
}
case MPV_EVENT_START_FILE: {
SendEvent("start-file");
break;
}
case MPV_EVENT_FILE_LOADED: {
audio_recovery_.SetFileLoaded(true);
SendEvent("file-loaded");