decoder/renderer: use memory cache and single decoder to optimize frames for
cycles
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
#ifndef DECODER_H
|
||||
#define DECODER_H
|
||||
|
||||
#include <QMutex>
|
||||
#include <QObject>
|
||||
#include <stdint.h>
|
||||
|
||||
@@ -265,6 +266,8 @@ protected:
|
||||
|
||||
bool open_;
|
||||
|
||||
QMutex mutex_;
|
||||
|
||||
private:
|
||||
void ConformInternal(SwrContext *resampler, WaveOutput *output, const char *in_data, int in_sample_count);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user