UI tweaks for still image DCPs with audio.
[dcpomatic.git] / src / lib / j2k_still_encoder.h
index 755c68877e8af1d19c16c1e4b895d39a410c54b3..ad2a5d277ac0a7f9b67eeccf2c68f89d9843eefc 100644 (file)
@@ -17,8 +17,8 @@
 
 */
 
-/** @file  src/j2k_wav_encoder.h
- *  @brief An encoder which writes JPEG2000 and WAV files.
+/** @file  src/j2k_still_encoder.h
+ *  @brief An encoder which writes JPEG2000 files for a single still source image.
  */
 
 #include <list>
@@ -27,6 +27,7 @@
 
 class Image;
 class Log;
+class EncodeOptions;
 
 /** @class J2KStillEncoder
  *  @brief An encoder which writes repeated JPEG2000 files from a single decoded input.
@@ -34,10 +35,10 @@ class Log;
 class J2KStillEncoder : public Encoder
 {
 public:
-       J2KStillEncoder (boost::shared_ptr<const FilmState>, boost::shared_ptr<const Options>, Log *);
+       J2KStillEncoder (boost::shared_ptr<const Film>, boost::shared_ptr<const EncodeOptions>);
 
-       void process_begin (int64_t audio_channel_layout, AVSampleFormat audio_sample_format) {}
-       void process_video (boost::shared_ptr<Image>, int);
-       void process_audio (uint8_t *, int) {}
-       void process_end () {}
+private:
+       void do_process_video (boost::shared_ptr<Image>, boost::shared_ptr<Subtitle>);
+
+       void link (std::string, std::string) const;
 };