ext/resindvd/resin-play: Remove $@ to fix parse_launch warning
authorStefan Kost <ensonic@users.sourceforge.net>
Tue, 28 Oct 2008 20:06:27 +0000 (20:06 +0000)
committerStefan Kost <ensonic@users.sourceforge.net>
Tue, 28 Oct 2008 20:06:27 +0000 (20:06 +0000)
Original commit message from CVS:
* ext/resindvd/resin-play:
Remove $@ to fix parse_launch warning
* ext/resindvd/resin-play2:
Add a version that uses deinterlace and xvimagesink.

ChangeLog
ext/resindvd/resin-play
ext/resindvd/resin-play2 [new file with mode: 0755]

index 2563c50..473e3d2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2008-10-28  Stefan Kost  <ensonic@users.sf.net>
+
+       * ext/resindvd/resin-play:
+         Remove $@ to fix parse_launch warning
+
+       * ext/resindvd/resin-play2:
+         Add a version that uses deinterlace and xvimagesink.
+         
+
 2008-10-28  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
 
        * gst/speexresample/gstspeexresample.c:
index 6c08b9c..1aa4e87 100755 (executable)
@@ -10,4 +10,4 @@ gst-launch rsndvdbin name=dvd "$DEVICE_OPT" \
    dvdspu name=spu ! ffmpegcolorspace ! videoscale ! ximagesink force-aspect-ratio=true \
    dvd. ! queue max-size-buffers=3 max-size-bytes=0 ! spu.video \
    dvd. ! spu.subpicture \
-   dvd. ! audioconvert ! autoaudiosink $@
+   dvd. ! audioconvert ! autoaudiosink
diff --git a/ext/resindvd/resin-play2 b/ext/resindvd/resin-play2
new file mode 100755 (executable)
index 0000000..e35a732
--- /dev/null
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+if [ $# -ge 1 ]; then
+  DEVICE_OPT="device=$1"
+else
+  DEVICE_OPT=""
+fi
+
+gst-launch rsndvdbin name=dvd "$DEVICE_OPT" \
+   dvdspu name=spu ! deinterlace ! xvimagesink force-aspect-ratio=false \
+   dvd. ! queue max-size-buffers=3 max-size-bytes=0 ! spu.video \
+   dvd. ! spu.subpicture \
+   dvd. ! audioconvert ! autoaudiosink