aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--youtube_dl/extractor/mtv.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/youtube_dl/extractor/mtv.py b/youtube_dl/extractor/mtv.py
index 642aae811..e5ca41b40 100644
--- a/youtube_dl/extractor/mtv.py
+++ b/youtube_dl/extractor/mtv.py
@@ -80,8 +80,7 @@ class MTVServicesInfoExtractor(InfoExtractor):
})
except (KeyError, TypeError):
raise ExtractorError('Invalid rendition field.')
- # worst format is expected to be first and best one last
- formats.sort(key=lambda x: int(x['format_id']))
+ self._sort_formats(formats)
return formats
def _get_video_info(self, itemdoc):