Skip to content

Commit

Permalink
UI: Use regular ICQ for simple output mode QSV
Browse files Browse the repository at this point in the history
After testing, LA_ICQ may not always be supported, so use regular ICQ
for recordings instead.  Also fixes a bug where simple output mode
wouldn't even use LA_ICQ.
  • Loading branch information
jp9000 committed May 11, 2016
1 parent b567a02 commit 5103aba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions obs/window-basic-main-outputs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ static bool icq_available(obs_encoder_t *encoder)
size_t num = obs_property_list_item_count(p);
for (size_t i = 0; i < num; i++) {
const char *val = obs_property_list_item_string(p, i);
if (strcmp(val, "ICQ_LA") == 0) {
if (strcmp(val, "ICQ") == 0) {
icq_found = true;
break;
}
Expand All @@ -447,7 +447,7 @@ void SimpleOutput::UpdateRecordingSettings_qsv11(int crf)
obs_data_set_string(settings, "profile", "high");

if (icq) {
obs_data_set_string(settings, "rate_control", "LA_ICQ");
obs_data_set_string(settings, "rate_control", "ICQ");
obs_data_set_int(settings, "icq_quality", crf);
} else {
obs_data_set_string(settings, "rate_control", "CQP");
Expand Down

0 comments on commit 5103aba

Please sign in to comment.