gui/movieplayer: compare timeshift to TSHIFT_MODE_*

This commit is contained in:
martii
2014-04-21 08:52:37 +02:00
committed by Jacek Jendrzej
parent c78676f7fd
commit 61f19b0eed

View File

@@ -512,7 +512,7 @@ void CMoviePlayerGui::PlayFile(void)
MI_MOVIE_INFO mi;
if (p_movie_info) {
if(timeshift){
if (timeshift != TSHIFT_MODE_OFF) {
// p_movie_info may be invalidated by CRecordManager while we're still using it. Create and use a copy.
mi = *p_movie_info;
p_movie_info = &mi;