summaryrefslogtreecommitdiff
path: root/src/lib
AgeCommit message (Collapse)Author
2020-03-01Separate SPL from a version which signals when things change.Carl Hetherington
2020-03-01Add some comments.Carl Hetherington
2020-02-29Various playlist editor developments and fixes.Carl Hetherington
2020-02-29Copy swaroop_ playlist editor stuff back to main DoM.Carl Hetherington
2020-02-29Move swaroop playlist editor stuff into its own swaroop_Carl Hetherington
files.
2020-02-29Allow changing colour conversion settings for multiple pieces of content at ↵Carl Hetherington
the same time (github #7).
2020-02-27Add and use dB/linear conversion functions.Carl Hetherington
2020-02-27Missing include.Carl Hetherington
2020-02-20Apply FFmpeg palette fix to examination too; fix build with old FFmpeg.Carl Hetherington
2020-02-19Another macOS std::list boost::thread SNAFU.Carl Hetherington
2020-02-19Can't put boost::thread in a std::list with our macOS compiler.Carl Hetherington
2020-02-19Nicer fix for 2D-labelled-3D checking from master.Carl Hetherington
2020-02-18Remove incorrect comment.Carl Hetherington
2020-02-16Make a new AudioBuffers constructor and use it to avoid some use of the more ↵Carl Hetherington
complicated copy_from.
2020-02-16Better errors if butler doesn't give video during export.Carl Hetherington
2020-02-16Just having no specified lines value does not mean we definitely need place ↵Carl Hetherington
the subtitle ourselves.
2020-02-14Nudge L/R-aligned subs in from the edge of the screen; do our own placement ↵Carl Hetherington
of subs with no screen height in lines specified.
2020-02-06Fix crash with bitmapped subs that have zero width or height.Carl Hetherington
2020-01-30Various thread cleanups.Carl Hetherington
2020-01-30Use a non-pointer boost::thread and a std::atomic for the stop flag.Carl Hetherington
2020-01-28Missing #include for previous.Carl Hetherington
2020-01-28Fix 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.
2020-01-28Fix crash with sub-sample push parts in AudioMerger.v2.15.42Carl Hetherington
Forward-ported from b86b15391074a68149f8c4a51958c7873d74def0 in master.
2020-01-25Another thinko fix.Carl Hetherington
2020-01-25Fix thinko two commits ago.Carl Hetherington
2020-01-25Cache film length for Player::pass.Carl Hetherington
2020-01-25Use memset for zeroing float buffers; it's faster, and I thinkCarl Hetherington
we get away with it on all the platforms we care about.
2020-01-24Support binary STL subtitle files.Carl Hetherington
2020-01-16Make FileError say what path the problem was with.Carl Hetherington
2020-01-14Add some PT-style names to the guesswork on which channel a particular sound ↵Carl Hetherington
file belongs to.
2020-01-10Give DCPDecoder its own ::position which just returns its internalCarl Hetherington
_next time. This is important because Decoder::position does the wrong thing with DCPs in the following case. 1. DCPDecoder emits a subtitle event (start/stop) at time t. 2. There follows a long time T with no subtitle events. During this time the DCPDecoder's position is reported as t (since TextDecoder notes its position as the time of the last thing it emitted --- which is all it reasonably can do, I think). 3. During this T the DCPDecoder may be incorrectly pass()ed because its position is reported as earlier than it really is; this results in video/audio being emitted by the DCPDecoder but other contemporary sources may not be pass()ed. The upshot of this can be that no audio is emitted, as a contemporary audio source is not pass()ed and hence the merger is waiting for audio that will take a long time to come. When the butler is running this can result in audio underruns as the video buffers overflow with no sign of any audio. It is also simpler this way; DCPDecoder was already maintaining the required information.
2020-01-08Naming tweak.Carl Hetherington
2020-01-08Clean up access to stuff from Film.Carl Hetherington
2020-01-08Barely-functioning GL playback with new arrangement.Carl Hetherington
2020-01-07Extend the amount of allowed disagreement between the audioCarl Hetherington
coming from the content and the calculated periods of silence. It sees that there is some scope for disagreements here when trim start/end times are rounded to frame boundaries. Fixes #1708.
2020-01-03Fix failure to save screen notes when making a new one (github bug #6).Carl Hetherington
2019-12-23Another comment typo.Carl Hetherington
2019-12-20Remove our forcing of analyzeduration and probesize as they seem toCarl Hetherington
cause weird problems when scanning some files. The unit test case added here is a case in point: before this patch one stream reported an incorrect channel count and sample rate. It's a bit worrying as these parameters have been in DoM for many years, but perhaps they have become unnecessary / harmful with changes to FFmpeg.
2019-12-19Add an output audio matrix (#1482).Carl Hetherington
2019-12-19Add an assertion.Carl Hetherington
2019-12-17Flush audio decoder when a DCPDecoder finishes so thatCarl Hetherington
resamplers are emptied and hence we don't lose any samples. Fixes #1691. Back-ported from 1444299fa4582fc65c5237edd6c115921f20f872 in master.
2019-12-15Stop empty Font IDs in imported DCP subtitles making it into theCarl Hetherington
output DCP (#1689).
2019-12-15Support content version metadata (#782).Carl Hetherington
2019-12-14Fix typo.Carl Hetherington
2019-12-12Use the new libdcp xerces stuff and install the required supporting files.Carl Hetherington
2019-12-11Make terminate_threads() less likely to leave _threads containing invalid ↵Carl Hetherington
pointers. Backported from f0c10e92b849566e458bc323f8783a6fe83e52d2 in master.
2019-12-08Throw errors from CPLSummary constructor if the DCP::read reported any problems.Carl Hetherington
2019-12-06Adjust for changes to libdcp API.Carl Hetherington
2019-12-04Package a patched openssl which creates certificates withCarl Hetherington
a validity period starting a week before now; fixes #1422.
2019-12-01Fix audio pts accuracy from previous.Carl Hetherington