output/Thread: update in_audio_format before ReopenFilter()
This commit is contained in:
parent
d020172181
commit
a8d343e07b
@ -288,10 +288,12 @@ AudioOutput::Reopen()
|
||||
!config_audio_format.IsFullyDefined()) {
|
||||
Close(true);
|
||||
Open();
|
||||
} else
|
||||
} else {
|
||||
/* the audio format has changed, and all filters have
|
||||
to be reconfigured */
|
||||
in_audio_format = request.audio_format;
|
||||
ReopenFilter();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user