X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Flib%2Fj2k_wav_encoder.h;h=87068ad3df05c4e1592f2e352f0ee4b11b05a1d4;hb=5428006e97b37d757a03c14024d7a0fb363bdcc6;hp=3f01ac48099a0bfceac5f58d4d88074c16f5835e;hpb=f3fdae3f8f4ae54b17f925f81a5e9d4b3589269b;p=dcpomatic.git diff --git a/src/lib/j2k_wav_encoder.h b/src/lib/j2k_wav_encoder.h index 3f01ac480..87068ad3d 100644 --- a/src/lib/j2k_wav_encoder.h +++ b/src/lib/j2k_wav_encoder.h @@ -38,6 +38,7 @@ class ServerDescription; class DCPVideoFrame; class Image; class Log; +class Subtitle; /** @class J2KWAVEncoder * @brief An encoder which writes JPEG2000 and WAV files. @@ -49,14 +50,12 @@ public: ~J2KWAVEncoder (); void process_begin (int64_t audio_channel_layout, AVSampleFormat audio_sample_format); - void process_video (boost::shared_ptr, int); + void process_video (boost::shared_ptr, int, boost::shared_ptr); void process_audio (uint8_t *, int); void process_end (); private: - int target_sample_rate () const; - void write_audio (uint8_t* data, int size); void encoder_thread (ServerDescription *); void close_sound_files ();