qtmobility/plugins/multimedia/gstreamer/qgstreamervideooverlay.h
changeset 4 90517678cc4f
parent 1 2b40d63a9c3d
child 5 453da2cfceef
equal deleted inserted replaced
1:2b40d63a9c3d 4:90517678cc4f
    70     bool isFullScreen() const;
    70     bool isFullScreen() const;
    71     void setFullScreen(bool fullScreen);
    71     void setFullScreen(bool fullScreen);
    72 
    72 
    73     QSize nativeSize() const;
    73     QSize nativeSize() const;
    74 
    74 
    75     QVideoWidget::AspectRatioMode aspectRatioMode() const;
    75     Qt::AspectRatioMode aspectRatioMode() const;
    76     void setAspectRatioMode(QVideoWidget::AspectRatioMode mode);
    76     void setAspectRatioMode(Qt::AspectRatioMode mode);
    77 
    77 
    78     void repaint();
    78     void repaint();
    79 
    79 
    80     int brightness() const;
    80     int brightness() const;
    81     void setBrightness(int brightness);
    81     void setBrightness(int brightness);
    99 private:
    99 private:
   100     void setScaledDisplayRect();
   100     void setScaledDisplayRect();
   101 
   101 
   102     QX11VideoSurface *m_surface;
   102     QX11VideoSurface *m_surface;
   103     GstElement *m_videoSink;
   103     GstElement *m_videoSink;
   104     QVideoWidget::AspectRatioMode m_aspectRatioMode;
   104     Qt::AspectRatioMode m_aspectRatioMode;
   105     QRect m_displayRect;
   105     QRect m_displayRect;
   106     bool m_fullScreen;
   106     bool m_fullScreen;
   107 };
   107 };
   108 
   108 
   109 #endif
   109 #endif