summaryrefslogtreecommitdiff
path: root/tests/auto/videoitemtest.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/videoitemtest.qml')
-rw-r--r--tests/auto/videoitemtest.qml20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/auto/videoitemtest.qml b/tests/auto/videoitemtest.qml
new file mode 100644
index 0000000..589ca6e
--- /dev/null
+++ b/tests/auto/videoitemtest.qml
@@ -0,0 +1,20 @@
+import QtQuick 2.1
+import QtQuick.Window 2.1
+import QtGStreamer 1.0
+
+Window {
+ width: 200
+ height: 200
+ visible: true
+
+ ListView {
+ anchors.fill: parent
+ model: 3
+
+ delegate: VideoItem {
+ width: 100
+ height: 100
+ surface: surface1
+ }
+ }
+}