mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-22 22:13:35 +02:00
Merge pull request #5069 from Laserlicht/video_fix
Video fix with subtitles
This commit is contained in:
commit
1223639cef
@ -173,7 +173,7 @@ void VideoWidgetBase::tick(uint32_t msPassed)
|
|||||||
{
|
{
|
||||||
videoInstance->tick(msPassed);
|
videoInstance->tick(msPassed);
|
||||||
|
|
||||||
if(subTitle)
|
if(!videoInstance->videoEnded() && subTitle)
|
||||||
subTitle->setText(getSubTitleLine(videoInstance->timeStamp()));
|
subTitle->setText(getSubTitleLine(videoInstance->timeStamp()));
|
||||||
|
|
||||||
if(videoInstance->videoEnded())
|
if(videoInstance->videoEnded())
|
||||||
|
Loading…
Reference in New Issue
Block a user