update languages: es, tr
[enigma2.git] / lib / dvb / decoder.h
index 7dfe38343a5868e605f0f5afaf1b1cf5dbeb111f..5b9d352ac157f4787ad65b37b12b668792fca90b 100644 (file)
@@ -44,9 +44,10 @@ private:
        m_fd_video;
 #endif
        int m_is_slow_motion, m_is_fast_forward, m_is_freezed;
-       eSocketNotifier *m_sn;
+       ePtr<eSocketNotifier> m_sn;
        void video_event(int what);
        Signal1<void, struct iTSMPEGDecoder::videoEvent> m_event;
+       int m_width, m_height, m_framerate, m_aspect, m_progressive;
 public:
        enum { MPEG2, MPEG4_H264 };
        eDVBVideo(eDVBDemux *demux, int dev);
@@ -67,6 +68,11 @@ public:
        int getPTS(pts_t &now);
        virtual ~eDVBVideo();
        RESULT connectEvent(const Slot1<void, struct iTSMPEGDecoder::videoEvent> &event, ePtr<eConnection> &conn);
+       int getWidth();
+       int getHeight();
+       int getProgressive();
+       int getFrameRate();
+       int getAspect();
 };
 
 class eDVBPCR: public iObject
@@ -131,7 +137,7 @@ private:
        void video_event(struct videoEvent);
        Signal1<void, struct videoEvent> m_video_event;
        int m_video_clip_fd;
-       eTimer m_showSinglePicTimer;
+       ePtr<eTimer> m_showSinglePicTimer;
        void finishShowSinglePic(); // called by timer
 public:
        enum { pidNone = -1 };
@@ -164,6 +170,11 @@ public:
                /* what 0=auto, 1=video, 2=audio. */
        RESULT getPTS(int what, pts_t &pts);
        RESULT connectVideoEvent(const Slot1<void, struct videoEvent> &event, ePtr<eConnection> &connection);
+       int getVideoWidth();
+       int getVideoHeight();
+       int getVideoProgressive();
+       int getVideoFrameRate();
+       int getVideoAspect();
 };
 
 #endif