fix for recorded files
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Sat, 30 Dec 2006 15:50:51 +0000 (15:50 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Sat, 30 Dec 2006 15:50:51 +0000 (15:50 +0000)
lib/service/servicedvb.cpp

index 254c12f..3f5ecb8 100644 (file)
@@ -1108,8 +1108,8 @@ RESULT eDVBServicePlay::start()
                   to start recording from the data demux. */
        if (m_is_pvr)
                m_cue = new eCueSheet();
                   to start recording from the data demux. */
        if (m_is_pvr)
                m_cue = new eCueSheet();
-
-       m_event(this, evStart);
+       else
+               m_event(this, evStart);
 
        m_first_program_info = 1;
        eServiceReferenceDVB &service = (eServiceReferenceDVB&)m_reference;
 
        m_first_program_info = 1;
        eServiceReferenceDVB &service = (eServiceReferenceDVB&)m_reference;
@@ -1131,7 +1131,10 @@ RESULT eDVBServicePlay::start()
        }
 
        if (m_is_pvr)
        }
 
        if (m_is_pvr)
+       {
                loadCuesheet();
                loadCuesheet();
+               m_event(this, evStart);
+       }
 
        m_event((iPlayableService*)this, evSeekableStatusChanged);
        return 0;
 
        m_event((iPlayableService*)this, evSeekableStatusChanged);
        return 0;