mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
95fa5e8b95
Original commit message from CVS: * ext/resindvd/gstmpegdemux.c: Remove whitespace line. * ext/resindvd/resindvdbin.c: * ext/resindvd/resindvdbin.h: Make it so that audio/video pads aren't added to the bin until after data flow starts. * ext/resindvd/resin-play: Move video buffer queue outside resindvdbin * ext/resindvd/resindvdsrc.c: Check that the nav_clock_id didn't already get unscheduled. * gst/dvdspu/gstdvdspu.c: Remove assert that sometimes triggers erroneously.
13 lines
354 B
Bash
Executable file
13 lines
354 B
Bash
Executable file
#!/bin/sh
|
|
|
|
if [ $# -ge 1 ]; then
|
|
DEVICE_OPT="device=$1"
|
|
else
|
|
DEVICE_OPT=""
|
|
fi
|
|
|
|
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 $@
|