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.
This commit is contained in:
2022-01-16 14:31:10 +01:00
parent e213efe13a
commit da6fea111e

View File

@@ -1610,6 +1610,10 @@ bool CMoviePlayerGui::SetPosition(int pos, bool absolute)
speed = 1; speed = 1;
playback->SetSpeed(speed); playback->SetSpeed(speed);
} }
if (res)
g_RCInput->postMsg(CRCInput::RC_info, 0);
return res; return res;
} }