From c46f24848e629effaf12508620a1d385afa1a305 Mon Sep 17 00:00:00 2001 From: Ross Patterson Date: Fri, 9 Aug 2019 21:34:08 -0700 Subject: [PATCH] Detect: Improve constants order, more general first --- examples/get_detect_data.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/examples/get_detect_data.py b/examples/get_detect_data.py index 1dd724c..6686705 100755 --- a/examples/get_detect_data.py +++ b/examples/get_detect_data.py @@ -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', -}