mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-08-24 10:14:13 -05:00
obs-qsv11: Don't declare vars in switch w/o braces
This commit is contained in:
@@ -801,7 +801,7 @@ static void *obs_qsv_create(enum qsv_codec codec, obs_data_t *settings,
|
||||
default:
|
||||
switch (voi->colorspace) {
|
||||
case VIDEO_CS_2100_PQ:
|
||||
case VIDEO_CS_2100_HLG:
|
||||
case VIDEO_CS_2100_HLG: {
|
||||
const char *const text =
|
||||
obs_module_text("8bitUnsupportedHdr");
|
||||
obs_encoder_set_last_error(encoder, text);
|
||||
@@ -809,6 +809,7 @@ static void *obs_qsv_create(enum qsv_codec codec, obs_data_t *settings,
|
||||
bfree(obsqsv);
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (update_settings(obsqsv, settings)) {
|
||||
|
||||
Reference in New Issue
Block a user