summaryrefslogtreecommitdiff
path: root/src/lib/player.cc
AgeCommit message (Collapse)Author
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
2021-11-04Cleanup variable name: i -> contentCarl Hetherington
2021-11-04Cleanup variable name: a -> reel_assetsCarl Hetherington
2021-10-15Ignore audio streams that fall too far behind (#2101).Carl Hetherington
2021-10-03Don't scale chroma subsampled images to sizes that don't align with the ↵v2.15.166Carl Hetherington
subsampling (#1872). There's a slightly odd effect when scaling e.g. YVU420 images to odd and then even widths - there's a small but visible luminance shift. I don't know why this happens, but keeping the scaling sizes locked to the subsampling seems to help.
2021-10-03Differentiate requested and actual crop.Carl Hetherington
This is so we limit cropping to what is possible considering chroma subsampling.
2021-09-27Remove unused usingCarl Hetherington
2021-09-27Replace aligned bool with enum Alignment.Carl Hetherington
2021-09-27Various alignment adjustments.Carl Hetherington
2021-07-05Use unique_ptr.Carl Hetherington
2021-06-13Ignore incoming data when suspended.Carl Hetherington
Otherwise, for example, some content can be moved and before the pieces have been re-created some video can arrive. Then the video's position will be calculated using the content's new position, causing an apparently big gap in the video which is filled in with black. These extra black frames cause the video buffers to fill up without any audio.
2021-04-01Move 3D-to-2D check (#1941).Carl Hetherington
We were checking for 3D content going into a 2D project in the DCPEncoder, but we also need to do the same thing when exporting. Moving the check into Player::emit_video() means that it is applied to both DCP transcoding and export.
2021-02-15Compile fix for ubuntu-16.04-era gcc.Carl Hetherington
2021-02-15Basic handling of overlapping video (#1848).Carl Hetherington
2021-02-14C++11 cleanups.Carl Hetherington
2021-02-04C++11 tidying.Carl Hetherington
2021-01-31Use enum class for Film::Property.Carl Hetherington
2021-01-31More enum class additions.Carl Hetherington
2021-01-27Use enum class for VideoRange.Carl Hetherington
2021-01-21Adapt for libdcp use of enum class.Carl Hetherington
2021-01-07BOOST_FOREACH.Carl Hetherington
2021-01-07std::shared_ptrCarl Hetherington
2020-12-22Pass fonts from content around as FontData.Carl Hetherington
i.e. as a block of memory rather than a file. Also, get the fonts from the decoder rather than the content. Together, these changes allow us to use fonts from SMPTE DCPs added as content. Before, fonts would be messed up in those cases (#1885).
2020-12-01Changes to crop can be handled with a reset_metadata().Carl Hetherington
While playback is happening we need to do that in the butler's buffers and in the little delay inside Player. This removes the seek on every crop change, making it a lot quicker (#1758).
2020-10-21macOS / new boost build fixes.v2.15.104Carl Hetherington
2020-07-05Add more logging and some missing prefs checkboxes for existing logging.v2.15.87Carl Hetherington
2020-06-19Make Atmos content work more like other content. Now its MXFsv2.15.82Carl Hetherington
are re-written, meaning that they can be encrypted. This (along with the libdcp update) also fixes assorted Atmos bugs.
2020-05-21Fix enabled/disable overlapping video/audio with DCP content (part of #1355)Carl Hetherington
2020-05-20Add a bit more debug logging to the player.Carl Hetherington