UI: Fix matching FFmpeg formats/codecs
This commit is contained in:
parent
a0ae12981c
commit
c1cd268532
2 changed files with 25 additions and 4 deletions
|
|
@ -2238,7 +2238,7 @@ void OBSBasicSettings::LoadAdvOutputRecordingEncoderProperties()
|
|||
static void SelectFormat(QComboBox *combo, const char *name,
|
||||
const char *mimeType)
|
||||
{
|
||||
FFmpegFormat format{name, mimeType};
|
||||
FFmpegFormat format{name, nullptr, mimeType};
|
||||
|
||||
for (int i = 0; i < combo->count(); i++) {
|
||||
QVariant v = combo->itemData(i);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue