mirror of
https://github.com/kkroening/ffmpeg-python.git
synced 2025-08-10 13:10:03 +08:00
Detect: Improve constants order, more general first
This commit is contained in:
parent
999d047bfe
commit
c46f24848e
@ -9,6 +9,10 @@ import json
|
|||||||
import requests
|
import requests
|
||||||
import pandas
|
import pandas
|
||||||
|
|
||||||
|
PLATFORM_TO_PY = {
|
||||||
|
'Apple': 'Darwin',
|
||||||
|
}
|
||||||
|
|
||||||
HWACCELINTRO_URL = 'https://trac.ffmpeg.org/wiki/HWAccelIntro'
|
HWACCELINTRO_URL = 'https://trac.ffmpeg.org/wiki/HWAccelIntro'
|
||||||
API_TO_HWACCEL = {
|
API_TO_HWACCEL = {
|
||||||
'AMF': 'amf',
|
'AMF': 'amf',
|
||||||
@ -26,9 +30,6 @@ API_TO_HWACCEL = {
|
|||||||
'VDPAU': 'vdpau',
|
'VDPAU': 'vdpau',
|
||||||
'VideoToolbox': 'videotoolbox',
|
'VideoToolbox': 'videotoolbox',
|
||||||
}
|
}
|
||||||
PLATFORM_TO_PY = {
|
|
||||||
'Apple': 'Darwin',
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user