diff options
author | Stefan Kost <ensonic@users.sourceforge.net> | 2008-10-28 20:06:27 +0000 |
---|---|---|
committer | Stefan Kost <ensonic@users.sourceforge.net> | 2008-10-28 20:06:27 +0000 |
commit | f3471841a3290b0974487a7fa61e2750d06fc30b (patch) | |
tree | 14602376d3e226e093cd76c756045b6ae4a37f6b /ext/resindvd | |
parent | b33f9f49ab6da51868bc3d05830544d37e31f52c (diff) | |
download | gst-plugins-bad-f3471841a3290b0974487a7fa61e2750d06fc30b.tar.gz gst-plugins-bad-f3471841a3290b0974487a7fa61e2750d06fc30b.tar.bz2 gst-plugins-bad-f3471841a3290b0974487a7fa61e2750d06fc30b.zip |
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.
Diffstat (limited to 'ext/resindvd')
-rwxr-xr-x | ext/resindvd/resin-play | 2 | ||||
-rwxr-xr-x | ext/resindvd/resin-play2 | 13 |
2 files changed, 14 insertions, 1 deletions
diff --git a/ext/resindvd/resin-play b/ext/resindvd/resin-play index 6c08b9c0..1aa4e87c 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 00000000..e35a732b --- /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 |