#endif
public:
virtual RESULT startTimeshift()=0;
- virtual RESULT stopTimeshift(bool switchToLive=true)=0;
+ virtual RESULT stopTimeshift(bool swToLive=true)=0;
virtual int isTimeshiftActive()=0;
/* this essentially seeks to the relative end of the timeshift buffer */
return 0;
}
-RESULT eDVBServicePlay::stopTimeshift(bool switchToLive)
+RESULT eDVBServicePlay::stopTimeshift(bool swToLive)
{
if (!m_timeshift_enabled)
return -1;
- if (switchToLive)
+ if (swToLive)
switchToLive();
m_timeshift_enabled = 0;
// iTimeshiftService
RESULT startTimeshift();
- RESULT stopTimeshift(bool switchToLive=true);
+ RESULT stopTimeshift(bool swToLive=true);
int isTimeshiftActive();
RESULT activateTimeshift();