summaryrefslogtreecommitdiff
path: root/src/lib/dcp_content.cc
AgeCommit message (Collapse)Author
2023-10-28Add some missing locks.Carl Hetherington
2023-10-28Cleanup: whitespace.Carl Hetherington
2023-10-15Fix DCP content font ID allocation to cope with DCPs that have multiple fontsCarl Hetherington
with the same name in the same reel (#2600). Previously we had this id_for_font_in_reel() which would give an ID of N_font-ID. This means we got duplicate font IDs. Here we replace that method with FontAllocator, which gives an ID of N_font-ID for the first font and M_font-ID, where M is a number higher than the highest reel index. The idea is to support the required new IDs without breaking exisiting projects. There is some documentation of how it works in doc/design/fonts
2023-08-27Fix refusal to reference overlapping but different text content (#2599).Carl Hetherington
2023-08-27Tweak a message to be more grammatically correct.Carl Hetherington
2023-08-26Cleanup: use some lambdas.Carl Hetherington
2023-06-25Tolerate problems when reading the contents of DCPs.Carl Hetherington
This avoids errors in cases like unreadable lost+found directories appearing inside a DCP.
2023-06-06Fix player audio, almost totally broken by a stupid mistakev2.16.59Carl Hetherington
in 78b2c650a9249cb7165d269b4378391d31e68e8b Following that commit 16 channel audio streams were being read as 6-channel, with unsurprising consequences.
2023-05-13Cleanup: use a namespace.Carl Hetherington
2023-05-12Handle fonts for ccaps coming from DCP content (#2525).Carl Hetherington
Not dealing with them calls all sort of chaos as described in the bug report.
2023-05-12add_fonts_from_examiner() can be called multiple times with the same fontCarl Hetherington
in the case of closed captions with multiple tracks. Don't reuse the same font objects in this case, otherwise we will start with something like font, disambiguate it to 0_font, then disambiguate _that_ to 0_0_font.
2023-05-10Allow signals to be blocked and resumed, and so make sure that a setCarl Hetherington
of content changes taken from an examiner are handled at the same time. Should fix DoM #2523.
2023-02-27Cleanup: swap a list for a vector.Carl Hetherington
2022-12-25Show audio bit depth in content properties (#559).Carl Hetherington
2022-11-26Noisy change to get film into AudioContent::modify_trim_start().Carl Hetherington
2022-09-27Use EnumIndexedVector in DCPContent.Carl Hetherington
2022-09-03Bump libdcp for better ContentKind support, and libsubCarl Hetherington
for fixes to \c tags in SSA files.
2022-07-23Even more logging when reading DCPs.Carl Hetherington
2022-07-23Add some more logging when reading DCPs.Carl Hetherington
2022-07-11Fix font handling for DCP subtitles.Carl Hetherington
2022-04-08Guess video range better when importing 2.14.x projects (#2227).Carl Hetherington
2022-04-03C++11 and whitespace cleanups.Carl Hetherington
2021-10-12Ignore .AppleDouble folders inside DCPs.Carl Hetherington
2021-10-09C++11 tidying.Carl Hetherington
2021-09-19Fix failure to open v2.14.x documents with invalid or empty subtitle ↵Carl Hetherington
languages (#2085).
2021-08-20Fix typo if -> of (thanks to Uwe Dittes)Carl Hetherington
2021-06-01Put audio language back in the Film.Carl Hetherington
It feels neat to have audio language in the audio tab, to match the subtitle language in the subtitle tab. It also avoids the potential confusion of there being an audio language setting in the DCP metadata but no subtitle language setting. However: - I am yet to find a need to describe multiple audio languages in the same DCP (all previous users of Film::audio_languages() were just taking the first language off the list). - As Carsten points out it's fiddly to have to set the audio language for 5 separate-channel WAV files, for example (you wouldn't actually have had to do this, but it would have felt like you did). I think subtitle language remains neater where it is (per-content) as there is this additional subtitle language metadata and it makes much more sense (and is much more likely) that there are multiple subtitle languages in a DCP than it does multiple audio languages.
2021-05-01C++11 tidying.Carl Hetherington
2021-04-09Extract audio/subtitle language from imported DCPs.Carl Hetherington
2021-04-07No-op: whitespace.Carl Hetherington
2021-04-05Fix confusing error on trying to load a DoM project into the player (#1948).Carl Hetherington
2021-03-17Fix build after libdcp change.Carl Hetherington
2021-01-31Use enum class for Film::Property.Carl Hetherington
2021-01-31More enum class additions.Carl Hetherington
2021-01-21Adapt for libdcp use of enum class.Carl Hetherington
2021-01-07BOOST_FOREACH.Carl Hetherington
2021-01-07std::shared_ptrCarl Hetherington
2020-11-25Disallow referring to subtitles / closed captions with start trim.Carl Hetherington
Since per Bv2.1 we can't have subs / closed captions with non-zero entry point I think we have no choice but to rewrite in that case (#1802).
2020-10-28Prevent import of directories as DCPs if they do not have anCarl Hetherington
ASSETMAP{,.xml} in the top level. This should avoid some confusion, as previously DoM would scan the whole directory tree looking for an ASSETMAP. It also prevents people adding a DCP-o-matic project to itself, which I believe is the cause of #1620.
2020-10-21macOS / new boost build fixes.v2.15.104Carl Hetherington
2020-10-17Fix deadlock when changing CPL in the player (#1827).Carl Hetherington
TextContent::set_dcp_track can end up requesting a view update, which involves calls to methods in Content which lock the Content::_mutex. Do these calls without a lock on that mutex held. Also, it looks like we would append to texts on every call to examine(). Fix that so that we replace the texts list on each examine() call.
2020-09-27Fixes for new libdcp with multiple content versions.Carl Hetherington
2020-07-29Recover information about closed caption tracks when loading DCPsv2.15.93Carl Hetherington
so that they can be displayed.
2020-06-19Fix hanging butler due to nasty signal ordering problems.v2.15.83Carl Hetherington
2020-06-19Missing setup of AtmosContent in DCP.Carl Hetherington
2020-06-19Fix serialisation of the Atmos parts of a DCP.Carl Hetherington
2020-06-19Make Atmos content work more like other content. Now its MXFsv2.15.82Carl Hetherington
are re-written, meaning that they can be encrypted. This (along with the libdcp update) also fixes assorted Atmos bugs.
2020-05-21Fix enabled/disable overlapping video/audio with DCP content (part of #1355)Carl Hetherington
2020-04-21Allow DCP content to store and serialise metadata.Carl Hetherington
2020-04-21Add DCPContent::resolution().Carl Hetherington