about summary refs log tree commit diff
diff options
context:
space:
mode:
-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