enabled timeredit to show bug
[enigma2.git] / lib / dvb / demux.cpp
index 3e05065be6565d8de2c76ffa2314f66a1074f14b..d5c7cf7399177652430796912aec70a2733bc727 100644 (file)
@@ -83,10 +83,8 @@ RESULT eDVBDemux::getSTC(pts_t &pts)
        }
        
        pts = stc.stc;
-       eDebug("got demux stc: %08llx", pts);
        
        ::close(fd);
-       
        return 0;
 }
 
@@ -131,7 +129,7 @@ eDVBSectionReader::eDVBSectionReader(eDVBDemux *demux, eMainloop *context, RESUL
        
        if (fd >= 0)
        {
-               notifier=new eSocketNotifier(context, fd, eSocketNotifier::Read);
+               notifier=new eSocketNotifier(context, fd, eSocketNotifier::Read, false);
                CONNECT(notifier->activated, eDVBSectionReader::data);
                res = 0;
        } else
@@ -157,6 +155,7 @@ RESULT eDVBSectionReader::start(const eDVBSectionFilterMask &mask)
        if (fd < 0)
                return -ENODEV;
 
+       notifier->start();
 #if HAVE_DVB_API_VERSION < 3
        dmxSctFilterParams sct;
 #else
@@ -207,7 +206,8 @@ RESULT eDVBSectionReader::stop()
 
        active=0;
        ::ioctl(fd, DMX_STOP);
-       
+       notifier->stop();
+
        return 0;
 }