Merge pull request #8542 from fr500/patch-1

Update record_ffmpeg.c
This commit is contained in:
Twinaphex 2019-04-02 17:39:28 +02:00 committed by GitHub
commit 7e9c05c442
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -703,7 +703,7 @@ static bool ffmpeg_init_config_common(struct ff_config_param *params, unsigned p
params->scale_factor = 1;
strlcpy(params->format, "webm", sizeof(params->format));
}
else if (preset <= RECORD_CONFIG_TYPE_STREAMING_LOW_QUALITY)
else if (preset < RECORD_CONFIG_TYPE_STREAMING_LOW_QUALITY)
{
params->scale_factor = 1;
strlcpy(params->format, "gif", sizeof(params->format));