use aspect ratio information from mpeg sequence header instead of eit (needs
[enigma2.git] / lib / dvb / idvb.h
index 997b2a882f7d129e49662f3c276c9a7b9d082557..7ee50e8d6da0e709079f62c4934d2675f129c882 100644 (file)
@@ -8,6 +8,7 @@
 #define FRONTENDPARAMETERS FrontendParameters
 #else
 #include <linux/dvb/frontend.h>
+#include <linux/dvb/video.h>
 #define FRONTENDPARAMETERS struct dvb_frontend_parameters
 #endif
 #include <lib/dvb/frontendparms.h>
@@ -646,6 +647,16 @@ public:
        virtual RESULT showSinglePic(const char *filename) = 0;
 
        virtual RESULT setRadioPic(const std::string &filename) = 0;
+
+       struct videoEvent
+       {
+               enum { eventUnknown = 0, eventSizeChanged = VIDEO_EVENT_SIZE_CHANGED } type;
+               unsigned char aspect;
+               unsigned short height;
+               unsigned short width;
+       };
+
+       virtual RESULT connectVideoEvent(const Slot1<void, struct videoEvent> &event, ePtr<eConnection> &connection) = 0;
 };
 
 #endif //SWIG