UI: Use hardware encoding by default if available

If the user doesn't use the auto-configuration on first use, set the
default encoders used in simple output mode to hardware encoders.
This commit is contained in:
jp9000 2019-02-05 18:05:19 -08:00
commit 9fee895359
5 changed files with 32 additions and 5 deletions

View file

@ -3913,7 +3913,7 @@ void OBSBasicSettings::UpdateStreamDelayEstimate()
UpdateAutomaticReplayBufferCheckboxes();
}
static bool EncoderAvailable(const char *encoder)
bool EncoderAvailable(const char *encoder)
{
const char *val;
int i = 0;