UI: Fix audio mixer UI not updating from threads
When changing a source's audio mixers/tracks or sync offset with obs_source_set_audio_mixers or obs_source_set_sync_offset from a non UI thread while the advanced audio properties panel is open the UI fields will not update until closed and reopened. It just shows an error on stderr for the failed invokeMethod calls that would do the update. For mixers and sync offset respectively: QMetaMethod::invoke: Unable to handle unregistered datatype 'uint32_t' QMetaMethod::invoke: Unable to handle unregistered datatype 'int64_t' Added needed Qt registrations in window-basic-main as that's where all the needed ones for the frontend UI seem to be put.
This commit is contained in:
parent
93205e5729
commit
c1deaf9c3f
@ -264,6 +264,8 @@ OBSBasic::OBSBasic(QWidget *parent)
|
||||
}
|
||||
}
|
||||
|
||||
qRegisterMetaType<int64_t>("int64_t");
|
||||
qRegisterMetaType<uint32_t>("uint32_t");
|
||||
qRegisterMetaType<OBSScene>("OBSScene");
|
||||
qRegisterMetaType<OBSSceneItem>("OBSSceneItem");
|
||||
qRegisterMetaType<OBSSource>("OBSSource");
|
||||
|
Loading…
x
Reference in New Issue
Block a user