after the encoder has been initialized warnings when using stream encoder for recording
Operating System Info
Windows 11
Other OS
No response
OBS Studio Version
30.2.0-rc1
OBS Studio Version (Other)
No response
OBS Studio Log URL
https://obsproject.com/logs/IzjRZUMB8cqzbjpC
OBS Studio Crash Log URL
No response
Expected Behavior
No warnings in the log file and initialize the encoder once.
Current Behavior
These warning log lines are generated
10:00:34.328: encoder 'advanced_video_stream': Cannot apply a new video_t object after the encoder has been initialized 10:00:34.328: encoder 'advanced_video_stream': Cannot set the scaled resolution after the encoder has been initialized 10:00:34.328: encoder 'advanced_video_stream': Cannot enable GPU scaling after the encoder has been initialized`
Steps to Reproduce
- Have replay buffer and recording start when the stream starts
- use the same encoder for recording and streaming
- start streaming
Anything else we should know?
It looks like OBSBasic::StartStreaming calls AdvancedOutput::SetupOutputs twice, once via AdvancedOutput::SetupStreaming and once via AdvancedOutput::StartRecording
hmmn...just bumped into this error myself .....stopped me right in my tracks