qtmobility/plugins/multimedia/gstreamer/mediacapture/maemo/qgstreamercaptureservice_maemo.h
equal
deleted
inserted
replaced
42 #ifndef QGSTREAMERCAPTURESERVICE_H |
42 #ifndef QGSTREAMERCAPTURESERVICE_H |
43 #define QGSTREAMERCAPTURESERVICE_H |
43 #define QGSTREAMERCAPTURESERVICE_H |
44 |
44 |
45 #include <qmediaservice.h> |
45 #include <qmediaservice.h> |
46 |
46 |
47 #include "qgstreamervideooutputcontrol.h" |
|
48 |
|
49 #include <gst/gst.h> |
47 #include <gst/gst.h> |
50 QT_BEGIN_NAMESPACE |
48 QT_BEGIN_NAMESPACE |
51 class QAudioEndpointSelector; |
49 class QAudioEndpointSelector; |
52 class QVideoDeviceControl; |
50 class QVideoDeviceControl; |
53 QT_END_NAMESPACE |
51 QT_END_NAMESPACE |
69 |
67 |
70 public: |
68 public: |
71 QGstreamerCaptureService(const QString &service, QObject *parent = 0); |
69 QGstreamerCaptureService(const QString &service, QObject *parent = 0); |
72 virtual ~QGstreamerCaptureService(); |
70 virtual ~QGstreamerCaptureService(); |
73 |
71 |
74 QMediaControl *control(const char *name) const; |
72 QMediaControl *requestControl(const char *name); |
75 |
73 void releaseControl(QMediaControl *); |
76 private slots: |
|
77 void videoOutputChanged(QVideoOutputControl::Output output); |
|
78 |
74 |
79 private: |
75 private: |
80 void setAudioPreview(GstElement*); |
76 void setAudioPreview(GstElement*); |
81 |
77 |
82 QGstreamerCaptureSession *m_captureSession; |
78 QGstreamerCaptureSession *m_captureSession; |
84 QGstreamerCaptureMetaDataControl *m_metaDataControl; |
80 QGstreamerCaptureMetaDataControl *m_metaDataControl; |
85 |
81 |
86 QAudioEndpointSelector *m_audioInputEndpointSelector; |
82 QAudioEndpointSelector *m_audioInputEndpointSelector; |
87 QVideoDeviceControl *m_videoInputDevice; |
83 QVideoDeviceControl *m_videoInputDevice; |
88 |
84 |
89 QGstreamerVideoOutputControl *m_videoOutput; |
85 QMediaControl *m_videoOutput; |
|
86 |
90 QGstreamerVideoRenderer *m_videoRenderer; |
87 QGstreamerVideoRenderer *m_videoRenderer; |
91 QGstreamerElementFactory *m_videoRendererFactory; |
88 QGstreamerElementFactory *m_videoRendererFactory; |
92 QGstreamerVideoOverlay *m_videoWindow; |
89 QGstreamerVideoOverlay *m_videoWindow; |
93 QGstreamerElementFactory *m_videoWindowFactory; |
90 QGstreamerElementFactory *m_videoWindowFactory; |
94 QGstreamerVideoWidgetControl *m_videoWidgetControl; |
91 QGstreamerVideoWidgetControl *m_videoWidgetControl; |