equal
deleted
inserted
replaced
49 QT_BEGIN_NAMESPACE |
49 QT_BEGIN_NAMESPACE |
50 class QAbstractVideoSurface; |
50 class QAbstractVideoSurface; |
51 QT_END_NAMESPACE |
51 QT_END_NAMESPACE |
52 class QX11VideoSurface; |
52 class QX11VideoSurface; |
53 |
53 |
|
54 #if defined(Q_WS_X11) && !defined(QT_NO_XVIDEO) |
|
55 |
54 QT_USE_NAMESPACE |
56 QT_USE_NAMESPACE |
55 |
57 |
56 class QGstreamerVideoOverlay : public QVideoWindowControl, public QGstreamerVideoRendererInterface |
58 class QGstreamerVideoOverlay : public QVideoWindowControl, public QGstreamerVideoRendererInterface |
57 { |
59 { |
58 Q_OBJECT |
60 Q_OBJECT |
91 |
93 |
92 QAbstractVideoSurface *surface() const; |
94 QAbstractVideoSurface *surface() const; |
93 |
95 |
94 GstElement *videoSink(); |
96 GstElement *videoSink(); |
95 |
97 |
|
98 signals: |
|
99 void sinkChanged(); |
|
100 |
96 private slots: |
101 private slots: |
97 void surfaceFormatChanged(); |
102 void surfaceFormatChanged(); |
98 |
103 |
99 private: |
104 private: |
100 void setScaledDisplayRect(); |
105 void setScaledDisplayRect(); |
104 Qt::AspectRatioMode m_aspectRatioMode; |
109 Qt::AspectRatioMode m_aspectRatioMode; |
105 QRect m_displayRect; |
110 QRect m_displayRect; |
106 bool m_fullScreen; |
111 bool m_fullScreen; |
107 }; |
112 }; |
108 |
113 |
|
114 #endif //QT_NO_XVIDEO |
|
115 |
109 #endif |
116 #endif |