diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-04-05 21:57:03 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-04-21 23:18:23 +0200 |
| commit | c98d6fd22da1586ef3c1d64a2f7b1ee602f539e9 (patch) | |
| tree | 5b35a6c950b5e77befca22564ed93a5920089cab /src/lib/film.h | |
| parent | 55f1927db0565c74ff7c121645ec397c07f63d51 (diff) | |
Rename j2k_bandwidth -> video_bit_rate.
Diffstat (limited to 'src/lib/film.h')
| -rw-r--r-- | src/lib/film.h | 10 |
1 files changed, 5 insertions, 5 deletions
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 */ |
