Use QVideoWidget in the videowidget example.
authorYoann Lopes <yoann.lopes@digia.com>
Tue, 25 Sep 2012 14:58:44 +0000 (16:58 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 26 Sep 2012 10:18:30 +0000 (12:18 +0200)
commit28c053ccaddb4d8afa8581023a9618c2679dd16c
tree2b8d2982a9bb70df1ac07f22b4714e38b5ff234e
parentb5fb793b9a7c96451893892e2734ad2fb10e5f4d
Use QVideoWidget in the videowidget example.

The videowidget example now uses QVideoWidget instead of a custom
QAbstractVideoSurface, the former being the most straightforward and
fastest way of showing a video in a QWidget.

The old code has been moved to a new example: "customvideosurface".

Change-Id: I15fb4482d0e77bafd24d4cb03316fc8f4ef13c35
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Reviewed-by: Jason Barron <jason.barron@digia.com>
12 files changed:
examples/customvideosurface/customvideosurface.pro [new file with mode: 0644]
examples/customvideosurface/main.cpp [new file with mode: 0644]
examples/customvideosurface/videoplayer.cpp [new file with mode: 0644]
examples/customvideosurface/videoplayer.h [new file with mode: 0644]
examples/customvideosurface/videowidget.cpp [moved from examples/videowidget/videowidget.cpp with 100% similarity]
examples/customvideosurface/videowidget.h [moved from examples/videowidget/videowidget.h with 100% similarity]
examples/customvideosurface/videowidgetsurface.cpp [moved from examples/videowidget/videowidgetsurface.cpp with 100% similarity]
examples/customvideosurface/videowidgetsurface.h [moved from examples/videowidget/videowidgetsurface.h with 100% similarity]
examples/examples.pro
examples/videowidget/main.cpp
examples/videowidget/videoplayer.cpp
examples/videowidget/videowidget.pro