showSinglePic is async and works on broadcom based dreamboxes
[vuplus_dvbapp] / lib / dvb / decoder.h
index 2c47834..409a442 100644 (file)
@@ -40,7 +40,9 @@ DECLARE_REF(eDVBVideo);
 private:
        ePtr<eDVBDemux> m_demux;
        int m_fd, m_fd_demux, m_dev;
-       
+#if HAVE_DVB_API_VERSION < 3
+       m_fd_video;
+#endif
        int m_is_slow_motion, m_is_fast_forward, m_is_freezed;
        eSocketNotifier *m_sn;
        void video_event(int what);
@@ -105,7 +107,6 @@ class eTSMPEGDecoder: public Object, public iTSMPEGDecoder
        static int m_audio_channel;
 DECLARE_REF(eTSMPEGDecoder);
        std::string m_radio_pic;
-private:
        ePtr<eDVBDemux> m_demux;
        ePtr<eDVBAudio> m_audio;
        ePtr<eDVBVideo> m_video;
@@ -128,6 +129,9 @@ private:
        void demux_event(int event);
        void video_event(struct videoEvent);
        Signal1<void, struct videoEvent> m_video_event;
+       int m_video_clip_fd;
+       eTimer m_showSinglePicTimer;
+       void finishShowSinglePic(); // called by timer
 public:
        enum { pidNone = -1 };
        eTSMPEGDecoder(eDVBDemux *demux, int decoder);