codec system rework

Codecs are now much cleaner and thread safe by design.
This commit is contained in:
itsmattkc
2020-11-10 11:23:25 +11:00
parent 6ecdb02fd0
commit 94c0914e50
17 changed files with 932 additions and 1376 deletions
+2 -2
View File
@@ -32,7 +32,7 @@ class FFmpegFramePool : public MemoryPool<uint8_t>
public:
FFmpegFramePool(int element_count);
void SetParameters(int width, int height, AVPixelFormat format);
void SetParameters(int width, int height, PixelFormat::Format format);
const int& width() const
{
@@ -52,7 +52,7 @@ private:
int height_;
AVPixelFormat format_;
PixelFormat::Format format_;
};