Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Subtitles: Avoid changing subtitle state in the decoder thread.

Use the proper API to defer subtitle changes to the UI event loop, to
avoid creating or deleting MythUI objects in a non-UI thread.
Refs #10740
  • Loading branch information...
commit f0f37a55d67ffffa27d51ebc6b2cb48589c820fc 1 parent 477e12f
@stichnot stichnot authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  mythtv/libs/libmythtv/mythplayer.cpp
View
3  mythtv/libs/libmythtv/mythplayer.cpp
@@ -628,8 +628,7 @@ void MythPlayer::ReinitVideo(void)
if (textDisplayMode)
{
- DisableCaptions(textDisplayMode, false);
- SetCaptionsEnabled(true, false);
+ EnableSubtitles(true);
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.