3 #ifndef QT_CAM_VIDEO_MODE_H
4 #define QT_CAM_VIDEO_MODE_H
7 #include <gst/pbutils/encoding-profile.h>
9 class QtCamDevicePrivate;
10 class QtCamVideoModePrivate;
11 class QtCamVideoSettings;
13 class QtCamVideoMode : public QtCamMode {
17 QtCamVideoMode(QtCamDevicePrivate *d, QObject *parent = 0);
20 virtual bool canCapture();
21 virtual void applySettings();
24 bool startRecording(const QString& fileName);
27 bool setSettings(const QtCamVideoSettings& settings);
29 void setProfile(GstEncodingProfile *profile);
36 QtCamVideoModePrivate *d_ptr;
39 #endif /* QT_CAM_VIDEO_MODE_H */