summaryrefslogtreecommitdiff
path: root/src/lib/encoder.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-01-18 21:49:49 +0000
committerCarl Hetherington <cth@carlh.net>2013-01-18 21:49:49 +0000
commit5e4ab7ebd9a6b62b64fbaf91d7aa1a2a9d4bdec4 (patch)
treecf863264ba3cd7cab9b6c65a0c821650534f537c /src/lib/encoder.h
parent940b64c80c8ed5d434de596d77fdb31762e3fbb3 (diff)
Untested direct write of audio to MXF.
Diffstat (limited to 'src/lib/encoder.h')
-rw-r--r--src/lib/encoder.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/lib/encoder.h b/src/lib/encoder.h
index a277aca51..fc89d674a 100644
--- a/src/lib/encoder.h
+++ b/src/lib/encoder.h
@@ -39,7 +39,6 @@ extern "C" {
#include <libswresample/swresample.h>
}
#endif
-#include <sndfile.h>
#include "util.h"
#include "video_sink.h"
#include "audio_sink.h"
@@ -91,7 +90,6 @@ private:
void frame_done ();
void frame_skipped ();
- void close_sound_files ();
void write_audio (boost::shared_ptr<const AudioBuffers> audio);
void encoder_thread (ServerDescription *);
@@ -113,19 +111,13 @@ private:
/** Number of video frames received so far */
SourceFrame _video_frames_in;
- /** Number of audio frames received so far */
- int64_t _audio_frames_in;
/** Number of video frames written for the DCP so far */
int _video_frames_out;
- /** Number of audio frames written for the DCP so far */
- int64_t _audio_frames_out;
#if HAVE_SWRESAMPLE
SwrContext* _swr_context;
#endif
- std::vector<SNDFILE*> _sound_files;
-
bool _have_a_real_frame;
bool _terminate_encoder;
std::list<boost::shared_ptr<DCPVideoFrame> > _encode_queue;