projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Work around deadlock when destroying J2KEncoder with a full writer queue (#2784).
[dcpomatic.git]
/
src
/
lib
/
audio_filter_graph.h
diff --git
a/src/lib/audio_filter_graph.h
b/src/lib/audio_filter_graph.h
index af438a7e7eac19a9afd0fd0545990516614771ed..e5c55fa273b22009564b98fcce92f0f92bee3157 100644
(file)
--- a/
src/lib/audio_filter_graph.h
+++ b/
src/lib/audio_filter_graph.h
@@
-18,6
+18,11
@@
*/
*/
+
+#ifndef DCPOMATIC_AUDIO_FILTER_GRAPH_H
+#define DCPOMATIC_AUDIO_FILTER_GRAPH_H
+
+
#include "filter_graph.h"
extern "C" {
#include <libavfilter/buffersink.h>
#include "filter_graph.h"
extern "C" {
#include <libavfilter/buffersink.h>
@@
-31,7
+36,7
@@
public:
AudioFilterGraph (int sample_rate, int channels);
~AudioFilterGraph ();
AudioFilterGraph (int sample_rate, int channels);
~AudioFilterGraph ();
- void process (std::shared_ptr<
const
AudioBuffers> audio);
+ void process (std::shared_ptr<AudioBuffers> audio);
protected:
std::string src_parameters () const override;
protected:
std::string src_parameters () const override;
@@
-45,3
+50,7
@@
private:
int64_t _channel_layout;
AVFrame* _in_frame;
};
int64_t _channel_layout;
AVFrame* _in_frame;
};
+
+
+#endif
+