Added 'View' action to all video formats.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
This commit is contained in:
Slava Zanko 2012-06-13 13:00:10 +03:00
parent 614d7f6a08
commit 40e8a0136b
3 changed files with 3 additions and 0 deletions

View File

@ -22,6 +22,7 @@ do_view_action() {
tail +13 || file "${MC_EXT_FILENAME}" tail +13 || file "${MC_EXT_FILENAME}"
;; ;;
*) *)
cat "${MC_EXT_FILENAME}"
;; ;;
esac esac
} }

View File

@ -12,6 +12,7 @@ do_view_action() {
case "${filetype}" in case "${filetype}" in
*) *)
cat "${MC_EXT_FILENAME}"
;; ;;
esac esac
} }

View File

@ -516,6 +516,7 @@ type/WebM
include/video include/video
Open=@EXTHELPERSDIR@/video.sh open ALL_FORMATS Open=@EXTHELPERSDIR@/video.sh open ALL_FORMATS
View=%view{ascii} @EXTHELPERSDIR@/video.sh view ALL_FORMATS
### Documents ### ### Documents ###