Fixed ts-exec output

This commit is contained in:
Thulinma 2022-02-22 12:40:15 +01:00
parent 9993dfafa2
commit 9f0b86108d

View file

@ -15,7 +15,7 @@ namespace Mist{
bool isRecording();
bool isFileTarget(){
HTTP::URL target(config->getString("target"));
if (isRecording() && (target.getExt() == "ts" || config->getString("target").substr(0, 8) == "ts-exec:")){return true;}
if (isRecording() && (target.getExt() == "ts" && config->getString("target").substr(0, 8) != "ts-exec:")){return true;}
return false;
}
virtual bool inlineRestartCapable() const{return true;}