Sha256: 67896feba1a1b6b03b2c3a63b05cd9822b9b0769f5a806157e330e4bd1869f10

Contents?: true

Size: 1.33 KB

Versions: 24

Compression:

Stored size: 1.33 KB

Contents

# GStreamer
# Copyright (C) 2015 Mathieu Duponchelle <mathieu.duponchelle@opencreed.com>
#
# bash/zsh completion support for common gstreamer options
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Library General Public
# License as published by the Free Software Foundation; either
# version 2 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# Library General Public License for more details.
#
# You should have received a copy of the GNU Library General Public
# License along with this library; if not, write to the
# Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
# Boston, MA 02110-1301, USA.

___gst_debug_level () { _gst_mandatory_argument; }
___gst_debug () { _gst_mandatory_argument; }
___gst_debug_color_mode () { _gst_mandatory_argument; }
___gst_plugin_path () { _gst_mandatory_argument; }
___gst_plugin_load () { _gst_mandatory_argument; }

_gst_mandatory_argument ()
{
	if [[ "$prev" != "$command" ]]
	then
		COMPREPLY=( $(compgen -W "$(ges-launch-1.0 --help-all | grep -oh '[[:graph:]]*--[[:graph:]]*' | cut -d'=' -f1)" -- $cur) )
	else
		COMPREPLY=("$cur")
	fi
}

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
gstreamer-3.1.1-x64-mingw32 vendor/local/share/bash-completion/helpers/gst
gstreamer-3.1.1-x86-mingw32 vendor/local/share/bash-completion/helpers/gst
gstreamer-3.1.0-x64-mingw32 vendor/local/share/bash-completion/helpers/gst
gstreamer-3.1.0-x86-mingw32 vendor/local/share/bash-completion/helpers/gst
gstreamer-3.0.9-x64-mingw32 vendor/local/share/bash-completion/helpers/gst
gstreamer-3.0.9-x86-mingw32 vendor/local/share/bash-completion/helpers/gst
gstreamer-3.0.8-x86-mingw32 vendor/local/share/bash-completion/helpers/gst
gstreamer-3.0.8-x64-mingw32 vendor/local/share/bash-completion/helpers/gst
gstreamer-3.0.7-x64-mingw32 vendor/local/share/bash-completion/helpers/gst
gstreamer-3.0.7-x86-mingw32 vendor/local/share/bash-completion/helpers/gst
gstreamer-3.0.6-x86-mingw32 vendor/local/share/bash-completion/helpers/gst
gstreamer-3.0.6-x64-mingw32 vendor/local/share/bash-completion/helpers/gst
gstreamer-3.0.5-x64-mingw32 vendor/local/share/bash-completion/helpers/gst
gstreamer-3.0.5-x86-mingw32 vendor/local/share/bash-completion/helpers/gst
gstreamer-3.0.4-x64-mingw32 vendor/local/share/bash-completion/helpers/gst
gstreamer-3.0.4-x86-mingw32 vendor/local/share/bash-completion/helpers/gst
gstreamer-3.0.3-x64-mingw32 vendor/local/share/bash-completion/helpers/gst
gstreamer-3.0.3-x86-mingw32 vendor/local/share/bash-completion/helpers/gst
gstreamer-3.0.2-x64-mingw32 vendor/local/share/bash-completion/helpers/gst
gstreamer-3.0.2-x86-mingw32 vendor/local/share/bash-completion/helpers/gst