source/mirror: Don't ignore data in initializer

This commit is contained in:
Michael Fabian 'Xaymar' Dirks 2020-12-04 13:15:31 +01:00
parent 3c2fbf2dc4
commit e7992cd776

View file

@ -74,7 +74,9 @@ mirror_audio_data::mirror_audio_data(const audio_data* audio, speaker_layout lay
mirror_instance::mirror_instance(obs_data_t* settings, obs_source_t* self) mirror_instance::mirror_instance(obs_data_t* settings, obs_source_t* self)
: obs::source_instance(settings, self), _source(), _source_child(), _signal_rename(), _audio_enabled(false), : obs::source_instance(settings, self), _source(), _source_child(), _signal_rename(), _audio_enabled(false),
_audio_layout(SPEAKERS_UNKNOWN) _audio_layout(SPEAKERS_UNKNOWN)
{} {
update(settings);
}
mirror_instance::~mirror_instance() mirror_instance::~mirror_instance()
{ {