about summary refs log tree commit diff
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2006-10-03 22:57:34 +0000
committerClint Adams <clint@users.sourceforge.net>2006-10-03 22:57:34 +0000
commit9619db1d94df55cb76160d9832ff206b038efee6 (patch)
tree4db9ae5ac980403a8c10e6356dae8304351ef835
parent55739ab8ae62fc9d7de2942ed9e4b37be1dcdf9d (diff)
downloadzsh-9619db1d94df55cb76160d9832ff206b038efee6.tar.gz
zsh-9619db1d94df55cb76160d9832ff206b038efee6.tar.xz
zsh-9619db1d94df55cb76160d9832ff206b038efee6.zip
22814: add .mp4 and .flv to media file extension list.
-rw-r--r--ChangeLog3
-rw-r--r--Completion/X/Command/_mplayer2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 18be0afc4..c4e0731b9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2006-10-03  Clint Adams  <clint@zsh.org>
 
+	* 22814: Completion/X/Command/_mplayer: add .mp4 and .flv
+	to media file extension list.
+
 	* 22812: R. Ramkumar: Completion/Unix/Command/_bittorrent,
 	Completion/Unix/Command/_rsync, Completion/Unix/Command/_ssh,
 	Completion/Unix/Command/_wget: utilize _bind_addresses in
diff --git a/Completion/X/Command/_mplayer b/Completion/X/Command/_mplayer
index d7205d1ae..f8f4ca9e8 100644
--- a/Completion/X/Command/_mplayer
+++ b/Completion/X/Command/_mplayer
@@ -115,7 +115,7 @@ case "$state" in
     _tags files urls
     while _tags; do
       _requested files expl 'video file' _files -g \
-          "*.(#i)(avi|mp3|mpg|mpe|mpeg|m1v|m2p|m2v|mov|asf|vob|mjpg|wma|wmv|asx|qt|rm|mkv|mka|ogm|ogg|wav)(-.)" && ret=0
+	  "*.(#i)(asf|asx|avi|flv|m1v|m2p|m2v|mjpg|mka|mkv|mov|mp3|mp4|mpe|mpeg|mpg|ogg|ogm|qt|rm|vob|wav|wma|wmv)(-.)" && ret=0
       if _requested urls; then
         while _next_label urls expl URL; do
           _urls "$expl[@]" && ret=0