summaryrefslogtreecommitdiff
path: root/src/lib/film.cc
AgeCommit message (Collapse)Author
2025-12-22Set project standard when adding a DCP (#2148).Carl Hetherington
2025-12-22Fix incorrect logic.Carl Hetherington
I think the previous version would treat a project with 3 videos the same as a project with 1.
2025-12-22Fix strange default of user_explicit with set_video_frame_rate.Carl Hetherington
2025-12-20Add missing maybe_set_container...().Carl Hetherington
2025-12-19Fix truncation of ISDCF name parts that have had things substituted (#3112).Carl Hetherington
2025-12-18Add set_isdcf_date() allowing removal of some friends.Carl Hetherington
2025-12-09Move CPLSummary into a faster version in libdcp.Carl Hetherington
2025-11-09Re-examine files created before we stopped auto-generating stream IDs.Carl Hetherington
2025-11-05Allow specification of which parts of the DCP to encrypt (#3099).Carl Hetherington
2025-10-29Don't report channels as mapped when they are not included in the film's ↵Carl Hetherington
channel count. So e.g. if you map the 7.1 surrounds but have a 6-channel film it should consider those channels un-mapped.
2025-10-10Allow film audio analysis without a _directory.Carl Hetherington
2025-10-08Remove un-settable config parameters.Carl Hetherington
2025-08-27Restore un-ticked DCP audio language correctly (#3077).Carl Hetherington
2025-07-16Remove unused content pointer from change signals.Carl Hetherington
2025-07-15Change Film::examine_and_add_content to take a vector of content.Carl Hetherington
2025-07-15Change Film::maybe_add_content to take a vector of content.Carl Hetherington
2025-07-15Change Film::add_content to take a vector of content.Carl Hetherington
2025-07-15Don't process unnecessary video frame rate changes.Carl Hetherington
This inadvertently fixes a bug where multiple pieces of caption content would be added to the project sequentially, but then immediately re-arranged to be at the same time.
2025-07-15Change ExamineContentJob to take a vector of content.Carl Hetherington
2025-07-10Allow audio processors to pass through HI/VI/DBox etc (#3020).Carl Hetherington
Previously you couldn't map these things if you were using a processor.
2025-07-10Rename audio_output_names() -> audio_output_channel_names().Carl Hetherington
2025-07-10Mention audio processor in the audio matrix.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-07-10Convert some paths to string.Carl Hetherington
2025-06-17Pass Ratio around as an object rather than a pointer.Carl Hetherington
2025-06-17Cleanup: compress some ifs.Carl Hetherington
2025-05-13Allow hyphens as part of the "name" part of the ISDCF name.Carl Hetherington
2025-05-11Use case for property checks now that it's possible.Carl Hetherington
This would have prevented the bug fixed in 6bbf7dee.
2025-05-08Add Film::possible_reel_types().Carl Hetherington
2025-05-08Add Film::reels_for_type().Carl Hetherington
2025-05-08Use the more in-keeping name string_to_video_encoding().Carl Hetherington
2025-03-24Basic support for variable-Z 3D subtitles.Carl Hetherington
2025-03-05Cleanup: use std::any_of instead of a find_if.Carl Hetherington
2025-01-25White space: film.{cc,h} font.{cc,h}Carl Hetherington
2025-01-20Fix typo accomodate -> accommodate.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-14Extract dcpomatic::film::is_vf().Carl Hetherington
2025-01-12Write OCAP/CCAP into ISDCF names in a hopefully more correct fashion.v2.18.4Carl Hetherington
2025-01-12Fix fl indication in ISDCF name.Carl Hetherington
Maybe I missed it, or maybe it changed, but apparently 3.5fl is supposed to be written as 35fl in the name.
2025-01-12Cleanup: rename some variables.Carl Hetherington
2025-01-12Rename closed_caption_languages() -> closed_text_languages().Carl Hetherington
Also make it return closed captions as well as closed subtitles.
2025-01-12Rename subtitle_languages() -> open_text_languages().Carl Hetherington
Also make it return open captions as well as open subtitles (#2941).
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.
2025-01-01Restrict name part of ISDCF name more (#2920).Carl Hetherington
This disallows + and . from the name part of an ISDCF name. I'm not 100% convinced about +, but . seems reasonable. This also fixes the case where you do "copy as name" with a name that should be transliterated, and the non-transliterated characters re-appear.
2024-12-26Give ownership of info files to ReelWriters (#2912).v2.18.2Carl Hetherington
The motivation here is to stop a pattern where we create a file, close it, and then re-open it (many times) as I think there are problems on Windows when a virus scanner sees the new file, opens it for checking, and then we can't re-open it. This also makes things a fair bit simpler, as a lock is removed and we don't try to differentiate read/write cases by opening the file in different ways; it's now always writeable.
2024-12-04Don't give an alarming error when there is no assets.xml.Carl Hetherington
2024-11-30Fix mis-handling of reels with Atmos content (#2901).v2.17.26Carl Hetherington
We must have reel boundaries at least on Atmos content boundaries as I don't know for sure how to insert silence into an Atmos stream.
2024-11-29Tidy-up/fix Atmos frame rate checks.Carl Hetherington