From ddbf6af1e20222882a7ce559804ed48f4ad31a92 Mon Sep 17 00:00:00 2001 From: Christopher Allan Webber Date: Sat, 2 Mar 2013 19:06:31 -0600 Subject: Huge amount of work to (mostly) allow .ogg (and maybe other) formats to skip transcode - Update get_display_media in several ways: - now uses the media type's own declaration of the order of things - returns both the media_size and the media_path, as per the docstring - implicitly uses self.media_files as opposed to forcing you to pass it in - update videos to use get_display_media - update images to declare media_fetch_order in the media manager (videos also) - update stl to use media.media_files['original'] instead of weird use of get_display_media - update sidebar to only conditionally show webm_640 TODO still: identify video type information *during* processing, show that in the element. This commit sponsored by Nathan Yergler. Thanks, nyergler! --- mediagoblin/tools/common.py | 1 - 1 file changed, 1 deletion(-) (limited to 'mediagoblin/tools') diff --git a/mediagoblin/tools/common.py b/mediagoblin/tools/common.py index c9f9d032..34586611 100644 --- a/mediagoblin/tools/common.py +++ b/mediagoblin/tools/common.py @@ -16,7 +16,6 @@ import sys -DISPLAY_IMAGE_FETCHING_ORDER = [u'medium', u'original', u'thumb'] global TESTS_ENABLED TESTS_ENABLED = False -- cgit v1.2.3