summaryrefslogtreecommitdiffstats
path: root/video/out
diff options
context:
space:
mode:
Diffstat (limited to 'video/out')
-rw-r--r--video/out/vo.h1
-rw-r--r--video/out/w32_common.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/video/out/vo.h b/video/out/vo.h
index 49a7546462..f6bc270afd 100644
--- a/video/out/vo.h
+++ b/video/out/vo.h
@@ -132,6 +132,7 @@ struct voctrl_get_equalizer_args {
// VOCTRL_UPDATE_PLAYBACK_STATE
struct voctrl_playback_state {
+ bool taskbar_progress;
bool playing;
bool paused;
int percent_pos;
diff --git a/video/out/w32_common.c b/video/out/w32_common.c
index e858f037aa..28b7a7a14b 100644
--- a/video/out/w32_common.c
+++ b/video/out/w32_common.c
@@ -1435,7 +1435,7 @@ static int gui_thread_control(struct vo_w32_state *w32, int request, void *arg)
if (!w32->taskbar_list3 || !w32->tbtnCreated)
return VO_TRUE;
- if (!pstate->playing) {
+ if (!pstate->playing || !pstate->taskbar_progress) {
ITaskbarList3_SetProgressState(w32->taskbar_list3, w32->window,
TBPF_NOPROGRESS);
return VO_TRUE;