change timing pid even when recording thread is already running
authorFelix Domke <felix.domke@multimedia-labs.de>
Mon, 10 Aug 2009 10:22:10 +0000 (12:22 +0200)
committerFelix Domke <felix.domke@multimedia-labs.de>
Mon, 10 Aug 2009 10:22:10 +0000 (12:22 +0200)
lib/dvb/demux.cpp

index 6d92540..4fba8fa 100644 (file)
@@ -602,8 +602,6 @@ RESULT eDVBTSRecorder::removePID(int pid)
 
 RESULT eDVBTSRecorder::setTimingPID(int pid, int type)
 {
 
 RESULT eDVBTSRecorder::setTimingPID(int pid, int type)
 {
-       if (m_running)
-               return -1;
        m_thread->setTimingPID(pid, type);
        return 0;
 }
        m_thread->setTimingPID(pid, type);
        return 0;
 }