From 56348a0b469afba52adeb82ede851aa614fbb2d9 Mon Sep 17 00:00:00 2001 From: Ryan Foster Date: Fri, 20 Mar 2020 04:56:50 -0400 Subject: [PATCH] obs-qsv11: Fix target usage values PR #1937 (commit b9ad1ce) added QSV target usage options, but there was a comma missing between two of the array entries. This resulted in "faster" and "veryfast" becoming "fasterveryfast", which is not valid. Code style changes were required by .clang-format. --- plugins/obs-qsv11/QSV_Encoder.h | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/plugins/obs-qsv11/QSV_Encoder.h b/plugins/obs-qsv11/QSV_Encoder.h index 93e85c8b6..db7d9dab9 100644 --- a/plugins/obs-qsv11/QSV_Encoder.h +++ b/plugins/obs-qsv11/QSV_Encoder.h @@ -74,17 +74,10 @@ static const struct qsv_rate_control_info qsv_ratecontrols[] = { {"AVBR", false}, {"ICQ", true}, {"LA_ICQ", true}, {"LA_CBR", true}, {"LA_VBR", true}, {0, false}}; static const char *const qsv_profile_names[] = {"high", "main", "baseline", 0}; -static const char *const qsv_usage_names[] = {"quality", - "balanced", - "speed", - "veryslow", - "slower", - "slow", - "medium", - "fast", - "faster" - "veryfast", - 0}; +static const char *const qsv_usage_names[] = {"quality", "balanced", "speed", + "veryslow", "slower", "slow", + "medium", "fast", "faster", + "veryfast", 0}; typedef struct qsv_t qsv_t;