From: Andreas Monzner Date: Thu, 17 Aug 2006 00:14:36 +0000 (+0000) Subject: fix typo X-Git-Tag: 2.6.0~3067 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/a962b75cb46d2d31613a9de51784ff342841b33d fix typo --- diff --git a/lib/service/servicedvb.cpp b/lib/service/servicedvb.cpp index 3008a9d2..4942324b 100644 --- a/lib/service/servicedvb.cpp +++ b/lib/service/servicedvb.cpp @@ -1784,13 +1784,14 @@ void eDVBServicePlay::updateDecoder() if (!(m_is_pvr || m_timeshift_active || !m_is_primary)) { m_decoder->setSyncPCR(pcrpid); - if (apid != 1) + if (apid != -1) { ePtr data_demux; - if (h.getDataDemux(data_demux)) + if (!h.getDataDemux(data_demux)) { m_radiotext_parser = new eDVBRadioTextParser(data_demux); m_radiotext_parser->connectUpdatedRadiotext(slot(*this, &eDVBServicePlay::radioTextUpdated), m_radiotext_updated_connection); + m_radiotext_parser->start(apid); } } } @@ -1802,9 +1803,6 @@ void eDVBServicePlay::updateDecoder() if (m_teletext_parser) m_teletext_parser->start(tpid); - if (m_radiotext_parser) - m_radiotext_parser->start(apid); - if (!m_is_primary) m_decoder->setTrickmode(1);