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.
This commit is contained in:
Stefan Kost 2008-10-28 20:06:27 +00:00
parent b33f9f49ab
commit f3471841a3
3 changed files with 23 additions and 1 deletions

View file

@ -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> 2008-10-28 Sebastian Dröge <sebastian.droege@collabora.co.uk>
* gst/speexresample/gstspeexresample.c: * gst/speexresample/gstspeexresample.c:

View file

@ -10,4 +10,4 @@ gst-launch rsndvdbin name=dvd "$DEVICE_OPT" \
dvdspu name=spu ! ffmpegcolorspace ! videoscale ! ximagesink force-aspect-ratio=true \ dvdspu name=spu ! ffmpegcolorspace ! videoscale ! ximagesink force-aspect-ratio=true \
dvd. ! queue max-size-buffers=3 max-size-bytes=0 ! spu.video \ dvd. ! queue max-size-buffers=3 max-size-bytes=0 ! spu.video \
dvd. ! spu.subpicture \ dvd. ! spu.subpicture \
dvd. ! audioconvert ! autoaudiosink $@ dvd. ! audioconvert ! autoaudiosink

13
ext/resindvd/resin-play2 Executable file
View file

@ -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