X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Ffilm.h;fp=src%2Flib%2Ffilm.h;h=392f1dc5e39fd2faf41eb5e7457e60bad68c42d5;hb=c98d6fd22da1586ef3c1d64a2f7b1ee602f539e9;hp=0a0c5a4e1dcadd716af7197d3335eeb185ca0821;hpb=55f1927db0565c74ff7c121645ec397c07f63d51;p=dcpomatic.git diff --git a/src/lib/film.h b/src/lib/film.h index 0a0c5a4e1..392f1dc5e 100644 --- a/src/lib/film.h +++ b/src/lib/film.h @@ -250,8 +250,8 @@ public: return _key; } - int j2k_bandwidth () const { - return _j2k_bandwidth; + int video_bit_rate() const { + return _video_bit_rate; } /** @return The frame rate of the DCP */ @@ -401,7 +401,7 @@ public: void set_container (Ratio const *, bool user_explicit = true); void set_resolution (Resolution, bool user_explicit = true); void set_encrypted (bool); - void set_j2k_bandwidth (int); + void set_video_bit_rate(int64_t); void set_video_frame_rate (int rate, bool user_explicit = false); void set_audio_channels (int); void set_three_d (bool); @@ -515,8 +515,8 @@ private: * re-start picture MXF encodes. */ std::string _context_id; - /** bandwidth for J2K files in bits per second */ - int _j2k_bandwidth; + /** bit rate for encoding video using J2K or MPEG2 in bits per second */ + int64_t _video_bit_rate; /** Frames per second to run our DCP at */ int _video_frame_rate; /** The date that we should use in a ISDCF name */