RequestHandler: Use correct output in GetRecordStatus

It was using the stream output due to a glitch, surprised nobody
reported it yet.
This commit is contained in:
tt2468 2021-12-17 02:38:56 -08:00
parent b3ef9a861e
commit edf4e942fa

View File

@ -21,7 +21,7 @@ with this program. If not, see <https://www.gnu.org/licenses/>
RequestResult RequestHandler::GetRecordStatus(const Request&)
{
OBSOutputAutoRelease recordOutput = obs_frontend_get_streaming_output();
OBSOutputAutoRelease recordOutput = obs_frontend_get_recording_output();
uint64_t outputDuration = Utils::Obs::NumberHelper::GetOutputDuration(recordOutput);