summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Coval <philippe.coval@open.eurogiciel.org>2014-08-19 11:41:38 +0200
committerPhilippe Coval <philippe.coval@open.eurogiciel.org>2014-08-19 11:41:38 +0200
commite978930325838ceb343b54e10c23a6edd723d322 (patch)
tree94e66c316e25b2284fd60e33caf12b86782c8292
parentee9e2882ad894ea61b870182d0c9f075d610c323 (diff)
downloadqt-tizen-e978930325838ceb343b54e10c23a6edd723d322.tar.gz
qt-tizen-e978930325838ceb343b54e10c23a6edd723d322.tar.bz2
qt-tizen-e978930325838ceb343b54e10c23a6edd723d322.zip
Change-Id: I4707afd13579af6ef43558b942e2ef4b9292287c Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
-rwxr-xr-xrootfs/usr/bin/launch_video.sh24
-rwxr-xr-xrootfs/usr/bin/launch_video_qt.sh2
2 files changed, 2 insertions, 24 deletions
diff --git a/rootfs/usr/bin/launch_video.sh b/rootfs/usr/bin/launch_video.sh
deleted file mode 100755
index 43d54fd..0000000
--- a/rootfs/usr/bin/launch_video.sh
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/bin/sh
-
-#
-# Launch web cam
-#
-
-touch $HOME/gstvid-pid
-alreadyrunning=`cat $HOME/gstvid-pid`
-
-#URL=http://intel07.vannes/~sdx/Downloads/Amazing%20Nature%20full%20HD%20720p.mp4
-#URL=http://intel07.vannes/~sdx/Videos/big_buck_bunny_480p_surround-fix.avi
-#URL=http://intel07.vannes/~sdx/Videos/caminandes_480p.avi
-URL=file:///usr/share/media/videos/AmazingNature_480p.mp4
-
-if [ $(echo $alreadyrunning | wc -w) -lt 8 ] ; then
- echo "create new"
- gst-launch-1.0 playbin uri=$URL &
- echo $! >> $HOME/gstvid-pid
-else echo "already running"
- for x in $alreadyrunning; do kill -9 $x; done
- rm -rf $HOME/gstvid-pid
-fi
-
-
diff --git a/rootfs/usr/bin/launch_video_qt.sh b/rootfs/usr/bin/launch_video_qt.sh
new file mode 100755
index 0000000..eadf29f
--- /dev/null
+++ b/rootfs/usr/bin/launch_video_qt.sh
@@ -0,0 +1,2 @@
+#!/bin/sh
+qmlscene /home/app/video.qml