mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 03:01:03 +00:00
helpers/gst: Get bash completion options from gst-launch
It is more likely that gst-launch is installed than ges-launch Reported-by: Marianna Smidth Buschle <msb@qtec.com> https://bugzilla.gnome.org/show_bug.cgi?id=775714
This commit is contained in:
parent
efc6264c37
commit
0728b9b59b
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ _gst_mandatory_argument ()
|
|||
{
|
||||
if [[ "$prev" != "$command" ]]
|
||||
then
|
||||
COMPREPLY=( $(compgen -W "$(ges-launch-1.0 --help-all | grep -oh '[[:graph:]]*--[[:graph:]]*' | cut -d'=' -f1)" -- $cur) )
|
||||
COMPREPLY=( $(compgen -W "$(gst-launch-1.0 --help-all | grep -oh '[[:graph:]]*--[[:graph:]]*' | cut -d'=' -f1)" -- $cur) )
|
||||
else
|
||||
COMPREPLY=("$cur")
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue