diff --git a/lib/dvb/demux.cpp b/lib/dvb/demux.cpp index 8bdb22d6..3a37514b 100644 --- a/lib/dvb/demux.cpp +++ b/lib/dvb/demux.cpp @@ -101,9 +101,7 @@ RESULT eDVBDemux::setSourceFrontend(int fenum) int n = DMX_SOURCE_FRONT0 + fenum; int res = ::ioctl(fd, DMX_SET_SOURCE, &n); if (res) - { eDebug("[eDVBDemux] DMX_SET_SOURCE Frontend%d failed: %m", fenum); - } else source = fenum; ::close(fd); @@ -142,7 +140,7 @@ RESULT eDVBDemux::createPESReader(eMainloop *context, ePtr &reade return res; } -RESULT eDVBDemux::createTSRecorder(ePtr &recorder, unsigned int packetsize, bool streaming) +RESULT eDVBDemux::createTSRecorder(ePtr &recorder, int packetsize, bool streaming) { if (m_dvr_busy) return -EBUSY; diff --git a/lib/dvb/idvb.h b/lib/dvb/idvb.h index e5354a00..296d66d6 100644 --- a/lib/dvb/idvb.h +++ b/lib/dvb/idvb.h @@ -586,7 +586,7 @@ class iDVBFrontend: public iDVBFrontend_ENUMS, public iObject virtual int closeFrontend(bool force = false, bool no_delayed = false)=0; virtual void reopenFrontend()=0; #ifndef SWIG - virtual RESULT connectStateChange(const sigc::slot1 &stateChange, ePtr &connection)=0; + virtual RESULT connectStateChange(const sigc::slot &stateChange, ePtr &connection)=0; #endif virtual RESULT getState(int &SWIG_OUTPUT)=0; virtual RESULT setTone(int tone)=0; @@ -664,8 +664,8 @@ class iDVBChannel: public iObject { evtPreStart, evtEOF, evtSOF, evtFailed, evtStopped }; - virtual RESULT connectStateChange(const sigc::slot1 &stateChange, ePtr &connection)=0; - virtual RESULT connectEvent(const sigc::slot2 &eventChange, ePtr &connection)=0; + virtual RESULT connectStateChange(const sigc::slot &stateChange, ePtr &connection)=0; + virtual RESULT connectEvent(const sigc::slot &eventChange, ePtr &connection)=0; /* demux capabilities */ enum @@ -716,12 +716,12 @@ class eCueSheet: public iObject, public sigc::trackable /* backend */ enum { evtSeek, evtSkipmode, evtSpanChanged }; - RESULT connectEvent(const sigc::slot1 &event, ePtr &connection); + RESULT connectEvent(const sigc::slot &event, ePtr &connection); std::list > m_spans; /* begin, end */ std::list > m_seek_requests; /* relative, delta */ pts_t m_skipmode_ratio; - sigc::signal1 m_event; + sigc::signal m_event; ePtr m_decoding_demux; ePtr m_decoder; }; @@ -854,7 +854,7 @@ class iTSMPEGDecoder: public iObject unsigned short gamma; }; - virtual RESULT connectVideoEvent(const sigc::slot1 &event, ePtr &connection) = 0; + virtual RESULT connectVideoEvent(const sigc::slot &event, ePtr &connection) = 0; virtual int getVideoWidth() = 0; virtual int getVideoHeight() = 0;