mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-26 18:20:44 +00:00
49b8ebdb37
Original commit message from CVS: * ext/dv/gstdvdec.c: (gst_dvdec_video_link): Fix caps nego and pad templates. RGB mode caps should work now. * ext/dvdnav/gst-dvd: Move mpeg2dec inside the thread because otherwise the queue rejects cap changes mid-stream * ext/mpeg2dec/gstmpeg2dec.c: (gst_mpeg2dec_get_type), (gst_mpeg2dec_flush_decoder): For mpeg2dec > 0.4.0, call the flush function instead of manually extracting all in-flight frames. * ext/raw1394/gstdv1394src.c: (gst_dv1394src_factory), (gst_dv1394src_init), (gst_dv1394src_iso_receive): Change mime type video/dv go video/x-dv to match the rest of gst-plugins
6 lines
382 B
Bash
Executable file
6 lines
382 B
Bash
Executable file
#!/bin/sh
|
|
|
|
AUDIOSINK=`gconftool-2 -g /system/gstreamer/default/audiosink`
|
|
gst-launch dvdnavsrc ! dvddemux name=demux .current_video ! { queue max-size-buffers=10 ! mpeg2dec ! mpeg2subt name=sub ! \
|
|
navseek ! xvimagesink } demux.current_subpicture ! queue max-size-buffers=5 block-timeout=100000 ! sub.subtitle \
|
|
demux.current_audio ! { queue ! a52dec ! audioscale ! $AUDIOSINK } $@
|