summary refs log tree commit diff
path: root/Completion/X/Command/_mplayer
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@gmail.com>2011-08-29 15:18:03 +0000
committerMikael Magnusson <mikachu@gmail.com>2011-08-29 15:18:03 +0000
commitc0ec6c4238d72ad1b7bcdfd5f4955e7cd8ebc61c (patch)
tree2676bcc26e854772096b3f5b47b66e3ec7634460 /Completion/X/Command/_mplayer
parentaf071465b1ef324f35741c681529f39b88a95f51 (diff)
downloadzsh-c0ec6c4238d72ad1b7bcdfd5f4955e7cd8ebc61c.tar.gz
zsh-c0ec6c4238d72ad1b7bcdfd5f4955e7cd8ebc61c.tar.xz
zsh-c0ec6c4238d72ad1b7bcdfd5f4955e7cd8ebc61c.zip
29722, 29706: fix two things in _mplayer.
Diffstat (limited to 'Completion/X/Command/_mplayer')
-rw-r--r--Completion/X/Command/_mplayer4
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/X/Command/_mplayer b/Completion/X/Command/_mplayer
index 665f44e67..01ba3a825 100644
--- a/Completion/X/Command/_mplayer
+++ b/Completion/X/Command/_mplayer
@@ -77,7 +77,7 @@ _x_arguments -C -s \
   '-sid[turn on DVD subtitles]:language id' \
   '-speed[set playback speed rate]:playback speed rate' \
   '-srate[specify frequency of audio playback]:frequency (Hz)' \
-  '-ss[seek to given time position]:position (hh:mm\[\:ss\])' \
+  '-ss[seek to given time position]:position (hh\:mm\[\:ss\])' \
   '-sstep[specify time between displayed frames]:time (seconds)' \
   -ssf:mode -stop_xscreensaver \
   '-stereo:mode:((0\:stereo 1\:left\ channel 2\:right\ channel))' \
@@ -108,7 +108,7 @@ _x_arguments -C -s \
   '-z[specify compression level for png output]:compression-level:((0\:no\ compression 1 2 3 4 5 6\:default\ compression 7 8 9\:max\ compression))' \
   '-zoom[use software scaling, where available (use with -nofs)]' \
   -zrbw -zrcrop -zrdev -zrfd -zrhelp -zrnorm -zrquality -zr{h,v}dec -zr{x,y}doff \
-  '(-use-stdin)*:video file:->mfiles'
+  '(-use-stdin)*:video file:->mfiles' && ret=0
 
 case "$state" in
   mfiles)