mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-07-30 01:59:13 -04:00
Pass CaptureConfig to StreamInput as pointer.
This commit is contained in:
parent
ca5dadab93
commit
3e08318012
5 changed files with 8 additions and 8 deletions
|
@ -85,7 +85,7 @@ void CaptureProcessor::on_message(const Message* const message) {
|
|||
|
||||
void CaptureProcessor::capture_config(const CaptureConfigMessage& message) {
|
||||
if( message.config ) {
|
||||
stream = std::make_unique<StreamInput>(*message.config);
|
||||
stream = std::make_unique<StreamInput>(message.config);
|
||||
} else {
|
||||
stream.reset();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue