this feature will not last very long, its too hard to maintain, sometimes segfaults when encoder is finised or stops ?

moved into seperate folder, and cleaned up some components
This commit is contained in:
2026-06-25 09:23:01 +02:00
parent d605509588
commit 51421ffc2b
11 changed files with 757 additions and 4 deletions
+19
View File
@@ -0,0 +1,19 @@
#pragma once
#include "ReencodeJob.h"
#include <atomic>
namespace engine {
class TrackEncoder
{
public:
explicit TrackEncoder(const std::atomic<bool> &stopFlag);
bool encode(ReencodeJob &job) const;
private:
const std::atomic<bool> &m_stop;
};
} // namespace engine