Skip to content

Commit

Permalink
Fix player OSD not automatically hiding
Browse files Browse the repository at this point in the history
  • Loading branch information
xfangfang committed Oct 26, 2024
1 parent 70afcc2 commit c6d8131
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions wiliwili/source/view/video_view.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -619,6 +619,7 @@ void VideoView::requestSeeking(int seek, int delay) {
is_seeking = false;
if (seek == 0) return;
mpvCore->seekRelative(seek);
showOSD(true);
} else {
// 延迟触发跳转进度
is_seeking = true;
Expand All @@ -630,6 +631,7 @@ void VideoView::requestSeeking(int seek, int delay) {
is_seeking = false;
if (seek == 0) return;
mpvCore->seekRelative(seek);
showOSD(true);
});
}
}
Expand Down

0 comments on commit c6d8131

Please sign in to comment.