summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-08-03Add unit test for pulldown detection.v2.14.36Carl Hetherington
Backported-from-commit: 23804b8beddd616cef60900d6e51deb7788cbd79 Backported-from-branch: v2.15.x
2020-08-03Fix number of frames in the pulldown check.Carl Hetherington
Backported-from-commit: 5f1fdbafc6eef37523250e0b8542a8939a038823 Backported-from-branch: v2.15.x
2020-08-03Fix incorrect string find logic.Carl Hetherington
Backported-from-commit: d461077cf4f2c1470d2d0d6dbc4f5708411bec65 Backported-from-branch: v2.15.x
2020-08-02Don't terminate if a non-DCP directory is given to Open.Carl Hetherington
Cherry-picked from 591c73b472f0eb74225dbc1b08885f552b8814c4 in v2.15.x.
2020-08-02Recover information about closed caption tracks when loading DCPsCarl Hetherington
so that they can be displayed. Cherry-picked from 09860271bb6d03b3937c08bffb4c672697f6d711 in v2.15.x.
2020-08-02Fix various problems with the closed caption viewer not being updated properly.Carl Hetherington
Cherry-picked from d902160e3c89a9f65f58a2463fac0b1de1d940b1 in v2.15.x.
2020-08-02Detect soft 2:3 pulldown (telecine) files and decode them at 23.976.Carl Hetherington
DVD rips from NTSC DVDs are sometimes (always?) encoded using soft 2:3 pulldown. The video frames are actually 23.976 but FFmpeg detects them as 29.97. With the current approach of the video decoder ignoring most PTSs and assuming a constant frame rate it is vital that the file contains the number of frames per second that the detected frame rate predicts. This fixes large sync errors with NTSC DVD rips (#1790). Cherry-picked from af680761cf7c3e97660e8e55c68f42e90b026bf9 in v2.15.x.
2020-07-29Don't display all possible channel checkboxes while the analysisv2.14.35Carl Hetherington
is running as clicking the higher ones will cause an assertion failure. Cherry-picked from 4b5e05b9845d609524328a88a81011b364e03a8a in v2.15.x.
2020-07-29Fix memory leak which also causes strange flickering in the audioCarl Hetherington
analysis window while the analysis is running. Cherry-picked from 6b1d9adcf6e75fc8e441b61108a2169bda6a6094 in v2.15.x.
2020-07-27Trying to create export audio encoders with between 9 and 15 channelsv2.14.34Carl Hetherington
inclusive fails, at least for AAC. There's probably a way around this with some FFmpeg-cleverness but for now let's just export any project with more than 8 channels as 16. You could argue that we should offer choices to, for example export 7.1/HI/VN as 7.1 but that sounds fiddly. Fixes #1786.
2020-07-27Fix export of projects with fewer than 6 channels.Carl Hetherington
2020-05-22Fix some tab/space problems in cscript.Carl Hetherington
2020-05-14Follow-up fix for GTK2 and GTK3 WX backends.v2.14.33Carl Hetherington
2020-05-14Hopefully we can use GTK's file chooser button again now.Carl Hetherington
2020-05-14Try to allow build on Ubuntu 20.04.Carl Hetherington
2020-05-14Christie FTP contains certificate chains, not just leaf certificates.Carl Hetherington
Backported from 2c844e57ed5c54e65a2b4484f02907122a03361e in v2.15.x.
2020-05-14Don't say 'certificate downloaded' if it failed during the read part.Carl Hetherington
Backported from 8c7ad603cf0a534abe1a920b70b0daa095257d3a in v2.15.x
2020-03-15Tidy some grammar and remove a silly colloquialism.Carl Hetherington
2020-03-11Give a better error when opening a DCP with File -> Open by mistake (#1723).v2.14.32Carl Hetherington
2020-03-10Bump libdcp to hopefully prevent segfaults in ↵Carl Hetherington
CertificateChain::private_key_valid.
2020-03-06Fix missed subclass of Job in the tests.Carl Hetherington
2020-03-06s/destroy_thread/stop_thread/Carl Hetherington
2020-03-06Destroy Job threads at the start of the subclass destructors,Carl Hetherington
so that the thread is gone before the object is torn down.
2020-03-01Missing patron.Carl Hetherington
2020-02-29Allow changing colour conversion settings for multiple pieces of content at ↵v2.14.31Carl Hetherington
the same time (github #7). Back-ported from c403e757cf0b029954fe18dc969314bfb179412f in v2.15.x.
2020-02-29Fix incorrect results when applying some timing operations toCarl Hetherington
more than one piece of content at once (e.g. trim start). Back-ported from 746aa7337ac2d51a4fa09039c1d5d7717cc880fa in v2.15.x.
2020-02-27Make content list and buttons taller on low-res displays.attic/800x600-buttonsCarl Hetherington
2020-02-22Restore preferences image for macOS accidentally dropped in the 10.9 commit.v2.14.30Carl Hetherington
2020-02-21Missing #include.v2.14.29Carl Hetherington
2020-02-20Fix non-aligned subtitle access in the subtitle examiner as well.v2.14.28Carl Hetherington
2020-02-20Allow macOS builds against 10.6 (universal) or 10.9 (thin).Carl Hetherington
2020-02-19Cleanups to normalise master and 2.15.x better.v2.14.27Carl Hetherington
2020-02-19New way of checking for 2D content mislabelled as 3D (#1565).Carl Hetherington
Required because of the change to the way video frame timing is done.
2020-02-18Fix errors with TYPE_3D introduced in video timestamping fix.Carl Hetherington
2020-02-18Re-throw butler errors at the end of an encode.Carl Hetherington
2020-02-18Report when butler returns no video because it died.Carl Hetherington
2020-02-18Add compile_commands.json symlink.Carl Hetherington
2020-02-18Merge branch 'master' of ssh://git.carlh.net/home/carl/git/dcpomaticCarl Hetherington
2020-02-18Write logs during tests to a file.Carl Hetherington
2020-02-18Remove unused variable.Carl Hetherington
2020-02-18Remove incorrect comment.Carl Hetherington
2020-02-18Missed part of new video timing patch.Carl Hetherington
2020-02-17Better errors if butler doesn't give video during export.Carl Hetherington
2020-02-16Better assertion error in copy_from.Carl Hetherington
2020-02-16Potential fix for #1568; we calculate the remaining DCPTime butCarl Hetherington
then convert it back to resampled content frames using the DCP rate rather than the resampled content rate, which seems wrong. If we want to go from metric time to frames we surely have to use the frame rate of the thing we are working with (not the frame rate which that thing will be played back at). Backported from 26c62598730d1d32333bfab0d5f463b90d26ee4d in v2.15.x.
2020-02-16Fix deadlock during content examination.Carl Hetherington
Before this fix, the following situation could happen in threads A and B: A: Some DONE signal happens; this triggers setup_pieces which takes a lock on the player mutex. B: FFmpegContent::examine takes a lock on the content mutex. B: FFmpegContent::examine adds a stream B: That causes STREAMS PENDING to be emitted. B: This tries to take a lock on the player mutex so it can update _suspended A: setup_pieces tries to access some content information, hence tries to take a lock on the content mutex. Now B is holding the CL and awaiting the PL and A is holding the PL and awaiting the CL. It feels like the root cause of this is that while setup_pieces is happening another change (which would itself cause setup_pieces) is announced, and this isn't dealt with properly. There are two steps here; _suspended is protected with an atomic rather than using _mutex, and also it can cope with being updated recursively. Backported from df48c75c38dd788835a93540aea243a2dac4bb10 in v2.15.x
2020-02-15Don't trust video timestamps from FFmpegDecoder.Carl Hetherington
Back-ported from 98342fb53eae4d32440fc69c279f2ca0fef785b5 in v2.15.x.
2020-02-06Fix crash with bitmapped subs that have zero width or height.Carl Hetherington
Back-ported from dec5ae11238495c64fffdab37f189d96aed7d636 in v2.15.x.
2020-01-28Add new script.Carl Hetherington
2020-01-28Various improvements to make_dummy_filesCarl Hetherington