From 61f19b0eed3edae5f345d605016a3a0cec002085 Mon Sep 17 00:00:00 2001 From: martii Date: Mon, 21 Apr 2014 08:52:37 +0200 Subject: [PATCH] gui/movieplayer: compare timeshift to TSHIFT_MODE_* --- src/gui/movieplayer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/movieplayer.cpp b/src/gui/movieplayer.cpp index 9909e66c0..78dd45a0b 100644 --- a/src/gui/movieplayer.cpp +++ b/src/gui/movieplayer.cpp @@ -511,8 +511,8 @@ void CMoviePlayerGui::PlayFile(void) MI_MOVIE_INFO mi; - if(p_movie_info) { - if(timeshift){ + if (p_movie_info) { + 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;