From f3471841a3290b0974487a7fa61e2750d06fc30b Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Tue, 28 Oct 2008 20:06:27 +0000 Subject: [PATCH] ext/resindvd/resin-play: Remove $@ to fix parse_launch warning 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 | 9 +++++++++ ext/resindvd/resin-play | 2 +- ext/resindvd/resin-play2 | 13 +++++++++++++ 3 files changed, 23 insertions(+), 1 deletion(-) create mode 100755 ext/resindvd/resin-play2 diff --git a/ChangeLog b/ChangeLog index 2563c50..473e3d2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2008-10-28 Stefan Kost + + * 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 * gst/speexresample/gstspeexresample.c: diff --git a/ext/resindvd/resin-play b/ext/resindvd/resin-play index 6c08b9c..1aa4e87 100755 --- a/ext/resindvd/resin-play +++ b/ext/resindvd/resin-play @@ -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 index 0000000..e35a732 --- /dev/null +++ b/ext/resindvd/resin-play2 @@ -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 -- 2.7.4