Detect: Improve constants order, more general first

This commit is contained in:
Ross Patterson 2019-08-09 21:34:08 -07:00
parent 999d047bfe
commit c46f24848e

View File

@ -9,6 +9,10 @@ import json
import requests
import pandas
PLATFORM_TO_PY = {
'Apple': 'Darwin',
}
HWACCELINTRO_URL = 'https://trac.ffmpeg.org/wiki/HWAccelIntro'
API_TO_HWACCEL = {
'AMF': 'amf',
@ -26,9 +30,6 @@ API_TO_HWACCEL = {
'VDPAU': 'vdpau',
'VideoToolbox': 'videotoolbox',
}
PLATFORM_TO_PY = {
'Apple': 'Darwin',
}