summaryrefslogtreecommitdiff
path: root/src/lib/player.cc
AgeCommit message (Collapse)Author
2022-12-15Fix build on Ubuntu 16.04.Carl Hetherington
2022-12-10Move some methods out of util.{cc,h}Carl Hetherington
2022-11-25_stream_states must be reset on seek otherwise #2368.Carl Hetherington
2022-11-25Fix sound corruption with multiple sound files (#2368).Carl Hetherington
last_push_end would be initialised to the position of the content, meaning that content at (for example) 60s into the project would be treated as the leader, and content much earlier would then be considered finished by the code which checks ignore_streams_behind (as its last push was more then 5s before the leader). This caused audio corruption, shown up by the test here.
2022-11-06Cleanup: better variable name.Carl Hetherington
2022-10-26Allow move construction of Player.Carl Hetherington
2022-10-17Make the _film member of Player a weak_ptr.Carl Hetherington
2022-10-14Add some missing change signals in the Player.Carl Hetherington
2022-10-14Cleanup: use ChangeSignaller in player.Carl Hetherington
2022-09-27Use EnumIndexedVector in Player.Carl Hetherington
2022-09-11Fix build on Centos where we don't have the std::atomic_store stuff apparently.v2.16.26Carl Hetherington
2022-09-10Use atomic shared_ptr stuff for _black_frame.Carl Hetherington
2022-09-10Use atomic for _playback_length.Carl Hetherington
2022-09-10It's now safe to get _video_container_size without the lock.Carl Hetherington
2022-09-10Move get_reel_assets() out of Player, as it doesn't need to be there.Carl Hetherington
2022-09-10const correctness.Carl Hetherington
2022-09-10Remove now-unused setup_pieces_unlocked()Carl Hetherington
2022-09-10Use atomic for _dcp_decode_reduction.Carl Hetherington
2022-09-10Use atomic for _video_container_size.Carl Hetherington
2022-09-10Use atomic for _play_referenced.Carl Hetherington
2022-09-10Use atomic for _fast.Carl Hetherington
2022-09-10Use atomic for _always_burn_open_subtitles.Carl Hetherington
2022-09-10Use atomic for _ignore_text.Carl Hetherington
2022-09-10Use atomic for _ignore_audio.Carl Hetherington
2022-09-10Use atomic for _ignore_video.Carl Hetherington
2022-09-10Some improved logging.Carl Hetherington
2022-06-12Believed fix for error when calculating the position in the output DCP of a ↵Carl Hetherington
referenced asset.
2022-06-07Rearrange subtitle font management.Carl Hetherington
With this change each subtitle coming out of the player has a reference to a dcpomatic::Font that belongs to the TextContent. This hopefully solves a few problems which all basically stemmed from the fact that previously the decoders/player were deciding what the font ID in the output DCP would be - they can't do that properly.
2022-05-21Fix error when loading encrypted DCPs (#2257).Carl Hetherington
In d1b4dbb793e2850d032ce3c91f0c91d045ae19dc I changed have_video() to look at can_be_played() but forgot to also change have_audio().
2022-05-11Fix ignore_video checker for separate-3D content (#2246).Carl Hetherington
2022-05-10Possibly improve shuffler behaviour (use one for all content if any 3D is ↵Carl Hetherington
present).
2022-04-29Primitive auto-crop (#1477).Carl Hetherington
2022-04-28Allow ContentBitmapText to contain multiple BitmapText objects.Carl Hetherington
2022-04-28Improve some variable names.Carl Hetherington
2022-04-20Replace encrypted content with black if we have no key (#2234).Carl Hetherington
2022-04-04Add fade in/out option to the content audio tab (#1026).Carl Hetherington
2022-04-04Cleanup: move some methods from util to maths_util.Carl Hetherington
2022-04-03C++11 and whitespace cleanups.Carl Hetherington
2022-01-24Slightly hacky fix for -114 errors during 3D encodes (#2173).v2.15.188Carl Hetherington
It still feels like I'm missing some large and beautiful trick with gathering all the gap-filling code into one place, but such a trick still eludes me.
2022-01-24Rename _last_video* to _next_video* as it seems to make more sense that way.Carl Hetherington
2022-01-11Comment typo.Carl Hetherington
2021-12-21Fix trimming of ATMOS MXFs.Carl Hetherington
2021-11-04Clarify that in this get_reel_assets() the content and film frame rates will ↵Carl Hetherington
be the same.
2021-11-04Bail early if nothing can be referenced from this content.Carl Hetherington
2021-11-04Cleanup variable name: k -> reelCarl Hetherington
2021-11-04Fix errors when referencing trimmed DCPs (#2116).Carl Hetherington
2021-11-04Cleanup: use a variable we already made.Carl Hetherington
2021-11-04Cleanup variable name: l -> captionCarl Hetherington
2021-11-04Cleanup variable name: k -> reelCarl Hetherington
2021-11-04Cleanup variable name: j -> dcpCarl Hetherington