Use QVideoGraphicsItem in the videographicsitem example.

The videographicsitem example now uses QVideoGraphicsItem instead of a
custom QAbstractVideoSurface.
The old code has been moved to a new example:
"customvideosurface/customvideoitem".

Change-Id: I83212f36168ef94d670b447eb1a742a39753939d
Reviewed-by: Jason Barron <jason.barron@digia.com>
This commit is contained in:
Yoann Lopes
2012-10-01 17:50:55 +02:00
committed by The Qt Project
parent 439d5b0e53
commit b616dd5165
18 changed files with 366 additions and 32 deletions

View File

@@ -5,12 +5,10 @@ QT += multimedia multimediawidgets
contains(QT_CONFIG, opengl): QT += opengl
HEADERS += videoplayer.h \
videoitem.h
HEADERS += videoplayer.h
SOURCES += main.cpp \
videoplayer.cpp \
videoitem.cpp
videoplayer.cpp
target.path = $$[QT_INSTALL_EXAMPLES]/qtmultimedia/videographicsitem
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS *.pro