diff --git a/mediagoblin/media_types/video/util.py b/mediagoblin/media_types/video/util.py
index beb1012..29b7f41 100644
a
|
b
|
def skip_transcode(metadata, size):
|
38 | 38 | if not metadata['mimetype'] in config['mime_types']: |
39 | 39 | return False |
40 | 40 | |
41 | | if config['container_formats'] and metadata['tags'].get('audio-codec'): |
| 41 | if config['container_formats'] and metadata['tags'].get('container-format'): |
42 | 42 | if not metadata['tags']['container-format'] in config['container_formats']: |
43 | 43 | return False |
44 | 44 | |
45 | | if config['video_codecs'] and metadata['tags'].get('audio-codec'): |
| 45 | if config['video_codecs'] and metadata['tags'].get('video-codec'): |
46 | 46 | if not metadata['tags']['video-codec'] in config['video_codecs']: |
47 | 47 | return False |
48 | 48 | |