diff options
Diffstat (limited to 'ext/resindvd/resin-play2')
-rwxr-xr-x | ext/resindvd/resin-play2 | 13 |
1 files changed, 13 insertions, 0 deletions
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 |