summaryrefslogtreecommitdiff
path: root/src/lib/encoder.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-10-02 16:14:29 +0100
committerCarl Hetherington <cth@carlh.net>2012-10-02 16:14:29 +0100
commitc55d8bcda8f4da74bbc9489127354211cea8f2ff (patch)
treed81b7197b635c6a9bcf9889c3dc4e6b9bc45bde3 /src/lib/encoder.h
parent11c0aac8508ac1a54e63bdcb31a85c941a7fb546 (diff)
parent0f154f43bd0c88d1615e455bd8a169826a08c086 (diff)
Merge branch 'resample-drop-frame'
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.