- mplayer fixes and improvements from Ariel Fermani
<the_end@bbs.frc.utn.edu.ar>
This commit is contained in:
parent
93e0970ac3
commit
99d63fbeb9
@ -1,6 +1,6 @@
|
|||||||
# bash_completion - some programmable completion functions for bash 2.05b
|
# bash_completion - some programmable completion functions for bash 2.05b
|
||||||
#
|
#
|
||||||
# $Id: bash_completion,v 1.591 2003/07/20 08:46:37 ianmacd Exp $
|
# $Id: bash_completion,v 1.592 2003/07/20 09:45:06 ianmacd Exp $
|
||||||
#
|
#
|
||||||
# Copyright (C) Ian Macdonald <ian@caliban.org>
|
# Copyright (C) Ian Macdonald <ian@caliban.org>
|
||||||
#
|
#
|
||||||
@ -4442,11 +4442,12 @@ _mplayer()
|
|||||||
;;
|
;;
|
||||||
-tv)
|
-tv)
|
||||||
COMPREPLY=( $( compgen -W 'on noaudio driver= device= \
|
COMPREPLY=( $( compgen -W 'on noaudio driver= device= \
|
||||||
input= frequ= outfmt= width= height= \
|
input= freq= outfmt= width= height= \
|
||||||
buffersize= norm= channel= chanlist= \
|
buffersize= norm= channel= chanlist= \
|
||||||
audiorate= forceaudio alsa amode= \
|
audiorate= forceaudio alsa amode= \
|
||||||
forcechan= adevice= audioid= volume= \
|
forcechan= adevice= audioid= volume= \
|
||||||
bass= treble= balance=' -- $cur ) )
|
bass= treble= balance= fps= \
|
||||||
|
channels= immediatemode=' -- $cur ) )
|
||||||
return 0
|
return 0
|
||||||
;;
|
;;
|
||||||
-mf)
|
-mf)
|
||||||
@ -4466,8 +4467,11 @@ _mplayer()
|
|||||||
return 0
|
return 0
|
||||||
;;
|
;;
|
||||||
-af)
|
-af)
|
||||||
COMPREPLY=( $( compgen -W 'resample= channels= format= \
|
COMPREPLY=( $( compgen -W 'resample resample= \
|
||||||
volume= delay=' -- $cur ) )
|
channels channels= format format= \
|
||||||
|
volume volume= delay delay= pan \
|
||||||
|
pan= sub sub= surround surround=' \
|
||||||
|
-- $cur ) )
|
||||||
return 0
|
return 0
|
||||||
;;
|
;;
|
||||||
-af-adv)
|
-af-adv)
|
||||||
@ -4477,9 +4481,6 @@ _mplayer()
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
case "$cur" in
|
case "$cur" in
|
||||||
--*)
|
|
||||||
COMPREPLY=( $( compgen -W '--help --verbose' -- $cur ) )
|
|
||||||
;;
|
|
||||||
-*)
|
-*)
|
||||||
COMPREPLY=( $( compgen -W '-aid -alang -audio-demuxer \
|
COMPREPLY=( $( compgen -W '-aid -alang -audio-demuxer \
|
||||||
-audiofile -cdrom-device -cache -cdda \
|
-audiofile -cdrom-device -cache -cdda \
|
||||||
@ -4499,8 +4500,15 @@ _mplayer()
|
|||||||
-subpos -unicode -utf8 -vobsub \
|
-subpos -unicode -utf8 -vobsub \
|
||||||
-vobsubid -ac -afm -aspect -flip \
|
-vobsubid -ac -afm -aspect -flip \
|
||||||
-lavdopts -noaspect -nosound -pp -ssf \
|
-lavdopts -noaspect -nosound -pp -ssf \
|
||||||
-stereo -sws -vc -vfm -vop -x -xvidopts\
|
-stereo -sws -vc -vfm -vop -xvidopts\
|
||||||
-xy -zoom' -- $cur ) )
|
-xy -zoom -bandwidth -cuefile \
|
||||||
|
-noextbased -rawvideo -overlapsub \
|
||||||
|
-sub-bg-alpha -sub-bg-color -subalign \
|
||||||
|
-subwidth -sub-no-text-pp -spualign \
|
||||||
|
-spuaa -spugauss -pphelp -verbose -v \
|
||||||
|
-noni -noidx -nohr-mp3-seek -extbased \
|
||||||
|
-bps -oldpp -nozoom -noflip -nounicode \
|
||||||
|
-noutf8' -- $cur ) )
|
||||||
# add mplayer specific options
|
# add mplayer specific options
|
||||||
[[ "$cmd" == @(?(g)mplayer) ]] && COMPREPLY=( ${COMPREPLY[@]} \
|
[[ "$cmd" == @(?(g)mplayer) ]] && COMPREPLY=( ${COMPREPLY[@]} \
|
||||||
$(compgen -W '-autoq -autosync -benchmark \
|
$(compgen -W '-autoq -autosync -benchmark \
|
||||||
@ -4524,8 +4532,12 @@ _mplayer()
|
|||||||
-rootwin -saturation -screenw -screenh \
|
-rootwin -saturation -screenw -screenh \
|
||||||
-stop_xscreensaver -vm -vo -vsync -wid \
|
-stop_xscreensaver -vm -vo -vsync -wid \
|
||||||
-xineramascreen -z -zrbw -zrcrop \
|
-xineramascreen -z -zrbw -zrcrop \
|
||||||
-zrdev -zrfd -zrhelp -zrnorm -zrquality\
|
-zrdev -zrfd -zrhelp -zrnorm -zrquality \
|
||||||
-zrvdec -zrhdec -zrxdoff -zrydoff -y' \
|
-zrvdec -zrhdec -zrxdoff -zrydoff -y \
|
||||||
|
-edl -edlout -enqueue -fixed-vo \
|
||||||
|
-menu -menu-root -menu-cfg -shuffle \
|
||||||
|
-format -aa -aahelp -dfbopts -fstype \
|
||||||
|
-guiwid -nokeepaspect -x --help' \
|
||||||
-- $cur) )
|
-- $cur) )
|
||||||
# add mencoder specific options
|
# add mencoder specific options
|
||||||
[[ "$cmd" = mencoder ]] && COMPREPLY=( ${COMPREPLY[@]} \
|
[[ "$cmd" = mencoder ]] && COMPREPLY=( ${COMPREPLY[@]} \
|
||||||
@ -4535,10 +4547,10 @@ _mplayer()
|
|||||||
-lavcopts -noskip -o -oac -ofps -ovc \
|
-lavcopts -noskip -o -oac -ofps -ovc \
|
||||||
-passlogfile -skiplimit -vobsubout \
|
-passlogfile -skiplimit -vobsubout \
|
||||||
-vobsuboutindex -vobsuboutid \
|
-vobsuboutindex -vobsuboutid \
|
||||||
-xvidencopts' -- $cur) )
|
-xvidencopts --verbose' -- $cur) )
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
_filedir '@(mpg|mpeg|MPG|MPEG|wma|avi|AVI|asf|vob|bin|vcd|ps|pes|fli|viv|rm|ram|yuv|mov|wmv|mp3|MP3|ogg|OGG|ogm|OGM|mp4|MP4|wav|WAV|dump|DUMP)'
|
_filedir '@(mpg|mpeg|MPG|MPEG|wma|avi|AVI|asf|vob|bin|dat|vcd|ps|pes|fli|viv|rm|ram|yuv|mov|MOV|qt|QT|wmv|mp3|MP3|ogg|OGG|ogm|OGM|mp4|MP4|wav|WAV|dump|DUMP)'
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user