From 4f3b223f9835ebaf178476a883f936b1b7f40a39 Mon Sep 17 00:00:00 2001 From: Mathieu Duponchelle Date: Mon, 23 Mar 2015 12:27:56 +0100 Subject: [PATCH] completions: port to new base gst script --- data/completions/ges-launch-1.0 | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/data/completions/ges-launch-1.0 b/data/completions/ges-launch-1.0 index 02ea495..7989a5b 100644 --- a/data/completions/ges-launch-1.0 +++ b/data/completions/ges-launch-1.0 @@ -64,7 +64,7 @@ _ges___videosink () { _ges_clip () { if [[ "$prev" == "$command" ]]; then - _mandatory__argument + _gst_mandatory_argument else COMPREPLY=( $(compgen -W "duration= inpoint= start= layer= $(ges-launch-1.0 help all | egrep '^ [a-zA-Z0-9]')" -- $cur) ) fi @@ -73,7 +73,7 @@ _ges_clip () { _ges_effect () { if [[ "$prev" == "$command" ]]; then - _mandatory__argument + _gst_mandatory_argument else COMPREPLY=( $(compgen -W "duration= start= layer= $(ges-launch-1.0 help all | egrep '^ +')" -- $cur) ) fi @@ -92,7 +92,7 @@ _ges_list_properties () { if [[ "$real_command" == "" ]] then - _mandatory__argument + _gst_mandatory_argument elif [[ "$real_command" == "+clip" ]] then COMPREPLY=( $(compgen -W "set-alpha set-posx set-posy set-width set-height set-volume set-mute" -- $cur) ) @@ -109,17 +109,17 @@ _ges_list_properties () { done done else - _mandatory__argument + _gst_mandatory_argument fi } -_ges___exclude_ () { _mandatory__argument; } -_ges___encoding_profile () { _mandatory__argument; } -_ges___ges_sample_path () { _mandatory__argument; } -_ges___ges_sample_path_recurse () { _mandatory__argument; } -_ges___thumbnail () { _mandatory__argument; } -_ges___repeat () { _mandatory__argument; } -_ges___save () { _mandatory__argument; } +_ges___exclude_ () { _gst_mandatory_argument; } +_ges___encoding_profile () { _gst_mandatory_argument; } +_ges___ges_sample_path () { _gst_mandatory_argument; } +_ges___ges_sample_path_recurse () { _gst_mandatory_argument; } +_ges___thumbnail () { _gst_mandatory_argument; } +_ges___repeat () { _gst_mandatory_argument; } +_ges___save () { _gst_mandatory_argument; } containsElement () { local e @@ -139,7 +139,7 @@ __ges_main () effect_bin_description="" if [[ "$cur" == "=" ]]; then - _mandatory__argument + _gst_mandatory_argument return fi @@ -179,7 +179,7 @@ __ges_main () _ges_list_commands elif [[ "$cur" == "="* ]] then - _mandatory__argument + _gst_mandatory_argument elif [[ "$cur" == "set-"* ]] then _ges_list_properties -- 2.7.4