diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-01-16 23:41:52 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-01-16 23:41:52 +0000 |
| commit | d87ea0504297c0bb6bd3bd192588d0f3e927fee9 (patch) | |
| tree | 5cb1f16ad3b84347e436f5a832f5ded9356e58f2 /src | |
| parent | e9ee53e42d7f8bbcd2a454ee9de5f3e66ec06b03 (diff) | |
More of Encoder can be private.
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/encoder.h | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/src/lib/encoder.h b/src/lib/encoder.h index 52ccfc166..bd38dc6bd 100644 --- a/src/lib/encoder.h +++ b/src/lib/encoder.h @@ -85,11 +85,18 @@ public: bool skipping () const; SourceFrame video_frame () const; -protected: +private: void frame_done (); void frame_skipped (); + void close_sound_files (); + void write_audio (boost::shared_ptr<const AudioBuffers> audio); + + void encoder_thread (ServerDescription *); + void terminate_worker_threads (); + void link (std::string, std::string) const; + /** Film that we are encoding */ boost::shared_ptr<const Film> _film; /** Options */ @@ -111,14 +118,6 @@ protected: /** Number of audio frames received so far */ int64_t _audio_frame; -private: - void close_sound_files (); - void write_audio (boost::shared_ptr<const AudioBuffers> audio); - - void encoder_thread (ServerDescription *); - void terminate_worker_threads (); - void link (std::string, std::string) const; - #if HAVE_SWRESAMPLE SwrContext* _swr_context; #endif |
