summaryrefslogtreecommitdiff
path: root/src/lib/hints.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-04-05 23:17:03 +0200
committerCarl Hetherington <cth@carlh.net>2024-04-22 13:03:04 +0200
commit21ebc2365dd7a66c05d130dc87861f7399ae834b (patch)
treeee1feebe6e0cf10dc5d4ecddbe9ea9ccb9a6b9d8 /src/lib/hints.cc
parent4f0d027f1964d0c011f89b5706fbaf654955ba2d (diff)
Allow specification of video bit rate separately for J2K and MPEG2.
Diffstat (limited to 'src/lib/hints.cc')
-rw-r--r--src/lib/hints.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/hints.cc b/src/lib/hints.cc
index fc59fa703..8e678fdf1 100644
--- a/src/lib/hints.cc
+++ b/src/lib/hints.cc
@@ -175,7 +175,7 @@ Hints::check_unusual_container ()
void
Hints::check_high_video_bit_rate()
{
- if (film()->video_bit_rate() >= 245000000) {
+ if (film()->video_encoding() == VideoEncoding::JPEG2000 && film()->video_bit_rate(VideoEncoding::JPEG2000) >= 245000000) {
hint (_("A few projectors have problems playing back very high bit-rate DCPs. It is a good idea to drop the video bit rate down to about 200Mbit/s; this is unlikely to have any visible effect on the image."));
}
}