diff options
author | Lars Knoll <lars.knoll@qt.io> | 2021-02-12 08:53:01 +0100 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2021-02-17 08:27:44 +0000 |
commit | b94b47d472c70124c38d4feb546df26d8015b3be (patch) | |
tree | ab744206fb98b100a4bcfcaa6a2d55c8b9f7ed3f /src/multimediawidgets/qvideowidget.cpp | |
parent | 4b45c95b5601acbdcd8aee52cf0d8af136b982e3 (diff) |
Kill QMediaSource and QMediaSink
Those aren't used anymore, get rid of them.
Change-Id: I5a17f18a3c87c2c13a9009b1f99ef9e708f7636a
Reviewed-by: Doris Verria <doris.verria@qt.io>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/multimediawidgets/qvideowidget.cpp')
-rw-r--r-- | src/multimediawidgets/qvideowidget.cpp | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/multimediawidgets/qvideowidget.cpp b/src/multimediawidgets/qvideowidget.cpp index 819ea7bfd..73c7930df 100644 --- a/src/multimediawidgets/qvideowidget.cpp +++ b/src/multimediawidgets/qvideowidget.cpp @@ -41,8 +41,8 @@ #include "qvideowidget_p.h" #include "qpaintervideosurface_p.h" -#include <qmediasource.h> -#include <qmediaservice.h> +#include <QtCore/qobject.h> +#include <QtMultimedia/qtmultimediaglobal.h> #include <qvideowindowcontrol.h> #include <qvideorenderercontrol.h> @@ -297,17 +297,15 @@ void QVideoWidgetPrivate::_q_dimensionsChanged() \ingroup multimedia \inmodule QtMultimediaWidgets - Attaching a QVideoWidget to a QMediaSource allows it to display the - video or image output of that media object. A QVideoWidget is attached - to media object by passing a pointer to the QMediaSource in its - constructor, and detached by destroying the QVideoWidget. + Attaching a QVideoWidget to a QMediaPlayer or QCamera allows it to display the + video or image output of that object. \snippet multimedia-snippets/video.cpp Video widget \b {Note}: Only a single display output can be attached to a media object at one time. - \sa QMediaSource, QMediaPlayer, QGraphicsVideoItem + \sa QCamera, QMediaPlayer, QGraphicsVideoItem */ /*! |