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:
@@ -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
|
||||
Reference in New Issue
Block a user