From: Christopher Allan Webber Date: Mon, 12 Mar 2012 18:38:22 +0000 (-0500) Subject: Added m4v to list of media types and a comment stating we should X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=8bc894e82b3f48460f1ee8560096503cd3832e5f;p=mediagoblin.git Added m4v to list of media types and a comment stating we should autogenerate extension list --- diff --git a/mediagoblin/media_types/video/__init__.py b/mediagoblin/media_types/video/__init__.py index ed542f16..579fdc6a 100644 --- a/mediagoblin/media_types/video/__init__.py +++ b/mediagoblin/media_types/video/__init__.py @@ -23,5 +23,7 @@ MEDIA_MANAGER = { # 'mediagoblin.media_types.image.processing'? "display_template": "mediagoblin/media_displays/video.html", "default_thumb": "images/media_thumbs/video.jpg", + # TODO: This list should be autogenerated based on gst plugins "accepted_extensions": [ - "mp4", "mov", "webm", "avi", "3gp", "3gpp", "mkv", "ogv", "ogg"]} + "mp4", "mov", "webm", "avi", "3gp", "3gpp", "mkv", "ogv", "ogg", + "m4v"]}