summaryrefslogtreecommitdiff
path: root/src/lib/encoder.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-10-03 21:25:04 +0100
committerCarl Hetherington <cth@carlh.net>2012-10-03 21:25:04 +0100
commit3781be4da4601176d7bb954f9cc65621d75e7344 (patch)
tree60c192f68263b7b8f3e401cfbc7d628061ab27bf /src/lib/encoder.h
parent5b95caee1e25a2daa7c0e872dffdb9634bddd314 (diff)
parent3750513dd20e5b3db14a825fb566f15fb434f85d (diff)
Merge.
Diffstat (limited to 'src/lib/encoder.h')
-rw-r--r--src/lib/encoder.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/encoder.h b/src/lib/encoder.h
index 539b2912c..ea356cec4 100644
--- a/src/lib/encoder.h
+++ b/src/lib/encoder.h
@@ -28,6 +28,9 @@
#include <boost/thread/mutex.hpp>
#include <list>
#include <stdint.h>
+extern "C" {
+#include <libavutil/samplefmt.h>
+}
class FilmState;
class Options;
@@ -50,7 +53,7 @@ public:
Encoder (boost::shared_ptr<const FilmState> s, boost::shared_ptr<const Options> o, Log* l);
/** Called to indicate that a processing run is about to begin */
- virtual void process_begin () = 0;
+ virtual void process_begin (int64_t audio_channel_layout, AVSampleFormat audio_sample_format) = 0;
/** Called with a frame of video.
* @param i Video frame image.