From b2ccf5efae5261886a5aadf3f72ff095cb3b3d5b Mon Sep 17 00:00:00 2001 From: Katarina Behrens Date: Mon, 1 Apr 2019 14:45:42 +0200 Subject: tdf#100007: slider and time field update during video playback To make this happen, restart idle in timeout handler (also start it when user bonks Play button and stop it when they bonk Pause or Stop button). The idle also needs a lower prio than TaskPriority::Repaint, otherwise the higher-prio events from our idle are going to starve UI repaints in the scheduler queue Change-Id: I4c767c3533e0e2ee9015c48b17075db5e0dc7ade Reviewed-on: https://gerrit.libreoffice.org/70068 Tested-by: Jenkins Reviewed-by: Katarina Behrens --- avmedia/inc/mediacontrol.hxx | 1 + 1 file changed, 1 insertion(+) (limited to 'avmedia/inc/mediacontrol.hxx') diff --git a/avmedia/inc/mediacontrol.hxx b/avmedia/inc/mediacontrol.hxx index 99ad5ef91a01..bdf0ce300005 100644 --- a/avmedia/inc/mediacontrol.hxx +++ b/avmedia/inc/mediacontrol.hxx @@ -77,6 +77,7 @@ private: Size maMinSize; bool mbLocked; MediaControlStyle meControlStyle; + double mfTime; }; } -- cgit v1.2.3