mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
src/gui/channellist.cpp: stop RECMODE_TSHIFT in play mode
Origin commit data
------------------
Branch: ni/coolstream
Commit: abea6d83d6
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2015-08-19 (Wed, 19 Aug 2015)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
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