diff options
Diffstat (limited to 'ext/resindvd/resin-play')
-rwxr-xr-x | ext/resindvd/resin-play | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/ext/resindvd/resin-play b/ext/resindvd/resin-play new file mode 100755 index 00000000..c2368116 --- /dev/null +++ b/ext/resindvd/resin-play @@ -0,0 +1,11 @@ +#!/bin/sh + +if [ $# -ge 1 ]; then + DEVICE_OPT="device=$1" +else + DEVICE_OPT="" +fi + +gst-launch rsndvdbin name=dvd "$DEVICE_OPT" \ + dvd. ! ffmpegcolorspace ! videoscale ! autovideosink \ + dvd. ! audioconvert ! autoaudiosink |