fix recording (thx to tmb)
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Tue, 20 Dec 2005 02:06:20 +0000 (02:06 +0000)
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Tue, 20 Dec 2005 02:06:20 +0000 (02:06 +0000)
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;
 }