DirectShow: Don't create the widget and renderer controls until requested.
Task-number: QTBUG-32282 Change-Id: If37ed4c35bcc2cc879f50d3b2ea3720b90603e9a Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
This commit is contained in:
committed by
The Qt Project
parent
d599f7319a
commit
d8e56bc4b8
@@ -52,9 +52,7 @@ class DSCameraControl;
|
||||
class DSCameraSession;
|
||||
class DSVideoOutputControl;
|
||||
class DSVideoDeviceControl;
|
||||
class DSVideoRendererControl;
|
||||
class DSImageCaptureControl;
|
||||
class DSVideoWidgetControl;
|
||||
|
||||
|
||||
class DSCameraService : public QMediaService
|
||||
@@ -73,10 +71,10 @@ private:
|
||||
DSCameraSession *m_session;
|
||||
DSVideoOutputControl *m_videoOutput;
|
||||
#if defined(HAVE_WIDGETS)
|
||||
DSVideoWidgetControl *m_viewFinderWidget;
|
||||
QMediaControl *m_viewFinderWidget;
|
||||
#endif
|
||||
DSVideoDeviceControl *m_videoDevice;
|
||||
DSVideoRendererControl *m_videoRenderer;
|
||||
QMediaControl *m_videoRenderer;
|
||||
DSImageCaptureControl *m_imageCapture;
|
||||
QByteArray m_device;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user