'height': json['height'],
'fps': json['frameRate'],
'filesize': json['mp4Size'],
- 'preference': '-1'
+ 'preference': 2
}, {
'format_id': 'webm',
'ext': 'webm',
'height': json['height'],
'fps': json['frameRate'],
'filesize': json['webmSize'],
- 'preference': 0
+ 'preference': 1
}, {
'format_id': 'gif',
'ext': 'gif',
'height': json['height'],
'fps': json['frameRate'],
'filesize': json['gifSize'],
- 'preference': 1
+ 'preference': 0
}]
self._sort_formats(formats)