fix recording (thx to tmb)
[enigma2.git] / lib / service / servicedvbrecord.cpp
index f05a35a..33f0497 100644 (file)
@@ -65,7 +65,10 @@ RESULT eDVBServiceRecord::prepare(const char *filename)
 {
        m_filename = filename;
        if (m_state == stateIdle)
+       {
                doPrepare();
+               return 0;
+       }
        else
                return -1;
 }