diff options
| author | ghost <andreas.monzner@multimedia-labs.de> | 2008-12-16 15:02:48 +0100 |
|---|---|---|
| committer | ghost <andreas.monzner@multimedia-labs.de> | 2008-12-16 15:02:48 +0100 |
| commit | 6e16107fdcc5f838f681d6f5d49e30124ebe5d74 (patch) | |
| tree | 681143f49c1ae9bec68bb3882d6bd4cdc7ad3e0d /lib/dvb/decoder.h | |
| parent | f14fe40f1fc2d6ba0c993bc0dabbfe250428aaa1 (diff) | |
| download | enigma2-6e16107fdcc5f838f681d6f5d49e30124ebe5d74.tar.gz enigma2-6e16107fdcc5f838f681d6f5d49e30124ebe5d74.zip | |
move some functions to better place (aspect / size / framerate / progressive handling)
Diffstat (limited to 'lib/dvb/decoder.h')
| -rw-r--r-- | lib/dvb/decoder.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/dvb/decoder.h b/lib/dvb/decoder.h index 05e07ef9..5b9d352a 100644 --- a/lib/dvb/decoder.h +++ b/lib/dvb/decoder.h @@ -47,6 +47,7 @@ private: 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 @@ -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 |
