+2014-03-07 Carl Hetherington <cth@carlh.net>
+
+ * Add subtitle view.
+
+ 2014-05-10 Carl Hetherington <cth@carlh.net>
+
+ * Version 1.69.2 released.
+
+ 2014-05-10 Carl Hetherington <cth@carlh.net>
+
+ * Fix setup of the libswresample context to work with high channel counts.
+
+ 2014-05-09 Carl Hetherington <cth@carlh.net>
+
+ * Version 1.69.1 released.
+
+ 2014-05-09 Carl Hetherington <cth@carlh.net>
+
+ * Fix crash on using content with more than 12 audio channels.
+
+ * Re-introduce ffprobe call when adding content.
+
2014-05-05 Carl Hetherington <cth@carlh.net>
* Version 1.69.0 released.
if (_content_channels == 1) {
/* Mono -> Centre */
- set (0, libdcp::CENTRE, 1);
+ set (0, dcp::CENTRE, 1);
} else {
/* 1:1 mapping */
- for (int i = 0; i < _content_channels; ++i) {
+ for (int i = 0; i < min (_content_channels, MAX_DCP_AUDIO_CHANNELS); ++i) {
- set (i, static_cast<libdcp::Channel> (i), 1);
+ set (i, static_cast<dcp::Channel> (i), 1);
}
}
}
four.make_default ();
for (int i = 0; i < 4; ++i) {
- for (int j = 0; j < MAX_AUDIO_CHANNELS; ++j) {
+ for (int j = 0; j < MAX_DCP_AUDIO_CHANNELS; ++j) {
- BOOST_CHECK_EQUAL (four.get (i, static_cast<libdcp::Channel> (j)), i == j ? 1 : 0);
+ BOOST_CHECK_EQUAL (four.get (i, static_cast<dcp::Channel> (j)), i == j ? 1 : 0);
}
}