Support fast channel change.
[vuplus_dvbapp] / lib / service / servicedvb.h
index 3efc259..7ded16a 100644 (file)
@@ -200,8 +200,9 @@ protected:
        eDVBServicePMTHandler m_service_handler_timeshift;
        eDVBServiceEITHandler m_event_handler;
        int m_current_audio_pid;
+       int m_current_video_pid_type;
        
-       eDVBServicePlay(const eServiceReference &ref, eDVBService *service);
+       eDVBServicePlay(const eServiceReference &ref, eDVBService *service, bool connect_event=true);
        
                /* events */
        void gotNewEvent();
@@ -209,6 +210,8 @@ protected:
        void serviceEvent(int event);
        void serviceEventTimeshift(int event);
        Signal2<void,iPlayableService*,int> m_event;
+
+       int m_is_stream;
        
                /* pvr */
        int m_is_pvr, m_is_paused, m_timeshift_enabled, m_timeshift_active, m_timeshift_changed;
@@ -227,7 +230,7 @@ protected:
        std::set<int> m_pids_active;
 
        void updateTimeshiftPids();
-       void switchToLive();
+       virtual void switchToLive();
 
        void resetTimeshift(int start);
        void switchToTimeshift();