Procházet zdrojové kódy

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.
Ryan Foster před 5 roky
rodič
revize
56348a0b46
1 změnil soubory, kde provedl 4 přidání a 11 odebrání
  1. 4 11
      plugins/obs-qsv11/QSV_Encoder.h

+ 4 - 11
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},
 	{"AVBR", false},  {"ICQ", true},  {"LA_ICQ", true}, {"LA_CBR", true},
 	{"LA_VBR", true}, {0, false}};
 	{"LA_VBR", true}, {0, false}};
 static const char *const qsv_profile_names[] = {"high", "main", "baseline", 0};
 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;
 typedef struct qsv_t qsv_t;