UI: Fix crash on exit with stuck encoder
If the encoder is hung and you try to exit these two values will still be null when obs shutting down.
This commit is contained in:
parent
f36b601aab
commit
fa8f95018d
2 changed files with 3 additions and 3 deletions
|
|
@ -6348,10 +6348,10 @@ void OBSBasic::StreamingStop(int code, QString last_error)
|
|||
|
||||
void OBSBasic::AutoRemux()
|
||||
{
|
||||
QString input = outputHandler->lastRecordingPath.c_str();
|
||||
if (input.isEmpty())
|
||||
if (outputHandler->lastRecordingPath.empty())
|
||||
return;
|
||||
|
||||
QString input = outputHandler->lastRecordingPath.c_str();
|
||||
QFileInfo fi(input);
|
||||
QString suffix = fi.suffix();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue