summaryrefslogtreecommitdiff
path: root/avmedia/inc/mediacontrol.hxx
diff options
context:
space:
mode:
authorKatarina Behrens <Katarina.Behrens@cib.de>2019-04-01 14:45:42 +0200
committerKatarina Behrens <Katarina.Behrens@cib.de>2019-04-02 12:05:17 +0200
commitb2ccf5efae5261886a5aadf3f72ff095cb3b3d5b (patch)
tree9d1f9fe3341f9da866114afc7bafbe5c5e9c98e1 /avmedia/inc/mediacontrol.hxx
parentbac831c8f5fb5c50ddddfb2458498fb9564c127a (diff)
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 <Katarina.Behrens@cib.de>
Diffstat (limited to 'avmedia/inc/mediacontrol.hxx')
-rw-r--r--avmedia/inc/mediacontrol.hxx1
1 files changed, 1 insertions, 0 deletions
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;
};
}