don't play on new PMT
authorFelix Domke <felix.domke@multimedia-labs.de>
Mon, 10 Aug 2009 14:40:57 +0000 (16:40 +0200)
committerFelix Domke <felix.domke@multimedia-labs.de>
Mon, 10 Aug 2009 14:40:57 +0000 (16:40 +0200)
lib/service/servicedvb.cpp

index a75c6cac6d51031a02642da9c423e1d9759f24b1..8017e3d6aa70b58927360c68ead0c3856b51a28c 100644 (file)
@@ -2350,6 +2350,7 @@ void eDVBServicePlay::updateDecoder()
                                        Py_DECREF(subs);
                                }
                        }
+                       m_decoder->play(); /* pids will be set later */
                }
                if (m_cue)
                        m_cue->setDecodingDemux(m_decode_demux, m_decoder);
@@ -2426,13 +2427,7 @@ void eDVBServicePlay::updateDecoder()
                                m_decoder->setRadioPic(radio_pic);
                }
 
-/*             if (!m_is_primary)
-                       m_decoder->setTrickmode();
-               else */ if (m_is_paused)
-                       m_decoder->pause();
-               else
-                       m_decoder->play();
-
+               m_decoder->set();
                m_decoder->setAudioChannel(achannel);
 
                /* don't worry about non-existing services, nor pvr services */