mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 17:01:15 +02:00
src/gui/channellist.cpp: stop RECMODE_TSHIFT in play mode
This commit is contained in:
@@ -656,7 +656,7 @@ int CChannelList::show()
|
||||
}
|
||||
}
|
||||
else if(!edit_state && !empty && msg == CRCInput::RC_stop ) { //stop recording
|
||||
//if(CRecordManager::getInstance()->RecordingStatus((*chanlist)[selected]->getChannelID()))
|
||||
if(CRecordManager::getInstance()->RecordingStatus((*chanlist)[selected]->getChannelID())){
|
||||
int recmode = CRecordManager::getInstance()->GetRecordMode((*chanlist)[selected]->getChannelID());
|
||||
bool timeshift = recmode & CRecordManager::RECMODE_TSHIFT;
|
||||
bool tsplay = CMoviePlayerGui::getInstance().timeshift;
|
||||
@@ -668,6 +668,12 @@ int CChannelList::show()
|
||||
calcSize();
|
||||
paintBody();
|
||||
}
|
||||
}else{
|
||||
// stop TSHIFT: go to play mode
|
||||
g_RCInput->postMsg (msg, data);
|
||||
res = CHANLIST_CANCEL_ALL;
|
||||
loop = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (!empty && ((msg == CRCInput::RC_red) || (msg == CRCInput::RC_epg))) {
|
||||
|
Reference in New Issue
Block a user