Skip to content

Commit

Permalink
check if in streaming mode
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxReimann committed Apr 3, 2024
1 parent f4a705d commit 571f62b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stabilization/stabilizestream.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ flowVis(GPUImage(width, height, 3))
throw std::runtime_error("Processed vid does not exist!");
}

if (!QFileInfo(*stabilizedDirorVid).isDir()) {
if (!streamingOutput && !QFileInfo(*stabilizedDirorVid).isDir()) {
videoEncoder = std::make_unique<VideoEncoder>(originalVidPath.absolutePath().toStdString(), stabilizedDirorVid->toStdString());
}
}
Expand Down

0 comments on commit 571f62b

Please sign in to comment.