From da6fea111e6660f3b4abd996191478fe96049ee6 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Sun, 16 Jan 2022 14:31:10 +0100 Subject: [PATCH] movieplayer: add send message CRCInput::RC_info on changed position Sends message to show info bar on change position, maybe there is a better solution (e.g. with callback), but this should help to visualize if position was changed, e.g.: user has pressed number keys for minute steps. In my opinion, this feature is missing for better user interaction. --- src/gui/movieplayer.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/gui/movieplayer.cpp b/src/gui/movieplayer.cpp index bee9c1cd3..a219c9f6e 100644 --- a/src/gui/movieplayer.cpp +++ b/src/gui/movieplayer.cpp @@ -1610,6 +1610,10 @@ bool CMoviePlayerGui::SetPosition(int pos, bool absolute) speed = 1; playback->SetSpeed(speed); } + + if (res) + g_RCInput->postMsg(CRCInput::RC_info, 0); + return res; }