summaryrefslogtreecommitdiff
path: root/src/lib/dcp_content.cc
AgeCommit message (Collapse)Author
2026-02-09Copy some more metadata from DCP into the film when requested.Carl Hetherington
2026-02-07Add missing word in explanation.Carl Hetherington
2026-01-05Fix some untranslatable strings, spotted by Rob van Nieuwkerk.Carl Hetherington
2025-12-30Cope with DCPs that have no video and hence no video encoding.Carl Hetherington
2025-11-05Allow specification of which parts of the DCP to encrypt (#3099).Carl Hetherington
2025-10-27White space: dcp_content.{cc,h}Carl Hetherington
2025-10-27Fix incorrect reading of markers from multi-reel DCPs (#3105).Carl Hetherington
2025-10-10Add Content::path_for_display().Carl Hetherington
2025-07-10Remove compose.hpp includes.Carl Hetherington
sed -i "/include.*compose.hpp/d;" src/lib/*.cc src/wx/*.cc src/wx/*.h src/tools/*.cc src/lib/*.h test/*.cc
2025-07-10Replace String::compose with fmt.Carl Hetherington
sed -i "/Plural-Forms/n;/%100/n;/scanf/n;s/%[123456789]/{}/g" src/lib/*.cc src/lib/*.h src/wx/*.cc src/tools/*.cc src/lib/po/*.po src/wx/po/*.po src/tools/po/*.po test/*.cc sed -i "s/String::compose */fmt::format/g" src/lib/*.cc src/lib/*.h src/wx/*.cc src/tools/*.cc test/*.cc
2025-05-11Cleanup: use constexpr for content and player properties.Carl Hetherington
Also fix a clash between the ATMOS and player properties.
2025-05-08Add DCPContent::reference_anything().Carl Hetherington
2025-05-08Use the more in-keeping name string_to_video_encoding().Carl Hetherington
2025-03-28Copy audio language when setting up a project from a DCP (#3009).Carl Hetherington
2025-01-20Remove the strange tolerant flag in Film.Carl Hetherington
Instead, we now pass it in directly to Content::examine() and the Player.
2025-01-20Pass tolerant flag into Content::examine() and the ExamineContentJob.Carl Hetherington
Along the way this helps to fix #2942.
2025-01-05Bump libdcp for raw_convert changes.Carl Hetherington
raw_convert<string> is gone, so here we use fmt::{to_string,format} instead. Other raw_converts now use fast_float.
2024-09-18Fix thinko in relative path change.Carl Hetherington
We have to canonicalise relative paths with respect to the film's directory on load, otherwise we try to use the relative path and it's interpreted against the current working directory. This unfortunately requires the film's directory to be piped into quite a lot of new places.
2024-09-03Support closed subtitles and open captions.Carl Hetherington
2024-09-03Adapt to some libdcp class renaming to allow open captions/closed subtitles.Carl Hetherington
2024-08-17Add option to use relative content paths (#2856).Carl Hetherington
2024-06-11Simplify the FontIDAllocator a lot (#2827).Carl Hetherington
This is at the expense of forward compatibility, and the need to re-examine subtitle content (losing custom fonts as we do so). But it does mean that the code is simpler, and there's not this weird growth of IDs where a DCP gets imported with some font, and then the ID becomes 0_font, and if you do it again it's 0_0_font, and so on.
2024-06-09Fix an erroneous font ID error that can happen when loading projects from ↵Carl Hetherington
builds without release version tags. So that last_written_by_earlier_than() always returns true, check_font_ids() happens when it doesn't really need to.
2024-06-09Cleanup: text is a vector now.Carl Hetherington
2024-06-06Store the video encoding of a DCP in the metadata (J2K/MPEG2).Carl Hetherington
2024-05-29Merge remote-tracking branch 'origin/main' into v2.17.xCarl Hetherington
2024-05-19Add and use Content::has_mapped_audio().Carl Hetherington
2024-03-20Remove all use of add_child() from xmlpp.Carl Hetherington
2024-03-11Use stored has_non_zero_entry_point() instead of parsing the DCP again (#2524).Carl Hetherington
2024-03-11Take has_non_zero_entry_point() from examiner and store it.Carl Hetherington
2024-03-11Remove redundant DCPDecoder use.Carl Hetherington
2024-03-09Merge branch 'main' into v2.17.xCarl Hetherington
2024-02-26Disallow referring to OV audio unless channel counts match (#2780).Carl Hetherington
2024-02-22Merge tag 'v2.16.78' into v2.17.xv2.17.12Carl Hetherington
2024-02-21Make DCPExaminer::size() optional and deal with the consequences.v2.16.78Carl Hetherington
This means we can fix the case of a VF having no known size in a nice way, in turn fixing problems caused by the fix to #2775.
2024-02-19Don't order the user to 'remove the other content'.Carl Hetherington
In the context of the new VF dialog this sounds odd; e.g. the user ticked video but audio is impossible, they are ordered to remove the other content (when they might just not want to refer to audio at all).
2024-02-19Merge tag 'v2.16.76' into v2.17.xCarl Hetherington
2024-02-14Cope with loading a film containing a missing DCP which itself contains ↵Carl Hetherington
subtitles.
2024-01-28Rename can_reference -> can_reference_anything.Carl Hetherington
2024-01-28Cleanup: rearrange how overlap checking is done in can_reference().Carl Hetherington
2024-01-09Move ScopeGuard into libdcp.Carl Hetherington
2024-01-04Don't crash when checking a DCP with no subtitles in some reel.Carl Hetherington
2024-01-04Remove checks for referenced DCPs having content in all reels (#2694).Carl Hetherington
I can't see why this was done, other than perhaps to avoid output with no subtitles in a reel (which is not allowed by Bv2.1). But I think even if that does still happen we could make our own reels for the missing ones.
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.