gui/movieplayer: compare timeshift to TSHIFT_MODE_*

Origin commit data
------------------
Commit: 61f19b0eed
Author: martii <m4rtii@gmx.de>
Date: 2014-04-21 (Mon, 21 Apr 2014)
This commit is contained in:
martii
2014-04-21 08:52:37 +02:00
committed by Jacek Jendrzej
parent b8241af4df
commit 8ac01b736e

View File

@@ -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;