m_streaming = 1;
if (m_state == stateIdle)
return doPrepare();
+ return -1;
}
RESULT eDVBServiceRecord::start()
RESULT eDVBServiceRecord::stop()
{
eDebug("stop recording!!");
- m_event((iRecordableService*)this, evStop);
if (m_state == stateRecording)
{
if (m_record)
}
m_state = statePrepared;
}
-
if (m_state == statePrepared)
{
m_record = 0;
return 0;
}
-static PyObject *createTuple(int pid, const char *type)
-{
- PyObject *r = PyTuple_New(2);
- PyTuple_SetItem(r, 0, PyInt_FromLong(pid));
- PyTuple_SetItem(r, 1, PyString_FromString(type));
- return r;
-}
-
RESULT eDVBServiceRecord::stream(ePtr<iStreamableService> &ptr)
{
ptr = this;