mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 17:01:15 +02:00
gui/movieplayer: compare timeshift to TSHIFT_MODE_*
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user