summaryrefslogtreecommitdiff
path: root/src/lib/film.cc
AgeCommit message (Collapse)Author
2025-11-03wip: hacksprocessorCarl Hetherington
2025-10-23Remove log handling from Film.Carl Hetherington
It should be the main UI's responsibility to set up dcpomatic_log, maybe writing it to the film's directory if it wants to.
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
2024-10-05Rename XML tags Fade{In,Out} to VideoFade{In,Out}.Carl Hetherington
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-13Merge remote-tracking branch 'origin/main' into v2.17.xCarl Hetherington
2024-09-03Fix a few places where we should use dcp::File::open_error()Carl Hetherington
to get a more accurate error number on Windows.
2024-09-03Support closed subtitles and open captions.Carl Hetherington
2024-08-17Add option to use relative content paths (#2856).Carl Hetherington
2024-08-14Fix a couple of causes of films being marked dirty straight after loading.Carl Hetherington
2024-06-23Remove some unused using statements and a blank line.Carl Hetherington