summaryrefslogtreecommitdiff
path: root/test/player_test.cc
AgeCommit message (Collapse)Author
2022-10-17Remove some more unnecessary use of shared_ptr.Carl Hetherington
2022-07-11Use a vector rather than a list when returning from content_factory().Carl Hetherington
2022-06-12Set up TextDecoder position based on the time that the next thing willv2.16.14Carl Hetherington
be emitted, instead of the time that the last thing was (#2268). This is to avoid problems with the example shown in the test, where just because a subtitle in source A comes before a subtitle in source B, source A is pass()ed next and may then emit a subtitle which should be after the next one in B.
2022-05-26Fix race between the Butler thread starting and audio (perhaps) being disabled.Carl Hetherington
This could cause Butler::audio to be called with _audio_channels = 0 and _disable_audio = false, causing an exception in AudioBuffers when remap() tried to make an AudioBuffers object with a channel count of 0.
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-04-07Cleanup: remove unused parameter to PlayerVideo::force.Carl Hetherington
2022-01-11Fix failure to decode multiple video frames from one packet (#2159).v2.15.183Carl Hetherington
2021-10-16Use an enum instead of a bool to specify blocking/non-blocking.Carl Hetherington
2021-09-27Test fixes.better-glCarl Hetherington
2021-09-27Various alignment tidying/fixups.Carl Hetherington
2021-09-27Replace aligned bool with enum Alignment.Carl Hetherington
2021-09-27Various alignment adjustments.Carl Hetherington
2021-09-27Setup Butler::_prepare_only_proxy on construction.Carl Hetherington
2021-02-26More verification of DCPs during tests.Carl Hetherington
2021-01-31More enum class additions.Carl Hetherington
2021-01-27Use enum class for VideoRange.Carl Hetherington
2021-01-07std::shared_ptrCarl Hetherington
2020-12-01Give Butler a weak_ptr<Film>Carl Hetherington
2020-11-29Move some test references into test-private.Carl Hetherington
2020-11-16Make sure we use limited ("video") range data when exporting.Carl Hetherington
Our export formats all currently use limited range but we weren't making sure data fed to the encoders was limited range. Should fix #1832.
2020-10-13Remove some debug output.Carl Hetherington
2020-10-13Some macOS test build fixes.Carl Hetherington
2020-10-13Fix use of DCPOMATIC_TEST_PRIVATE variable to specify whereCarl Hetherington
test private data is.
2020-10-12Remove Image/GraphicsMagick dependency.Carl Hetherington
2020-10-12Fix incorrect sign on boost test constants.Carl Hetherington
2020-05-11Change video content scaling so that it either:Carl Hetherington
1. scales the content up to fit the DCP container, preserving aspect ratio, or 2. stretches the content to a custom aspect ratio, or 3. scales the content to some custom size.
2020-04-23Nicer fix for 86102d30bf0aad89115bbeb3d8aaa2a27a0aa432Carl Hetherington
2020-04-15Fix length of player output so it can be either the film's length or ↵Carl Hetherington
playlist's length, as appropriate.
2020-03-11Move private_data into TestPathsCarl 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-11-19Fix problems with playing back 3D DCPs and with inserting 3D DCPsCarl Hetherington
in 2D projects. Also add some tests.
2019-11-01Increase fudge factor at the boundary between audio signal and silence.Carl Hetherington
2019-10-21Rename dcpomatic_sleep -> dcpomatic_sleep_seconds.Carl Hetherington
2019-07-24Optimise the feel of some GUI functions by doing the seek afterCarl Hetherington
many content changes in an idle handler, rather than blocking the UI update until the seek and image redisplay have finished.
2019-05-10Put Time types in dcpomatic namespace.Carl Hetherington
2019-02-13More test tweaks.Carl Hetherington
2019-02-13Nudge threshold to cope with move to Ubuntu 18.04 as a test container.Carl Hetherington
2019-01-21Stop jobs silently failing in tests.Carl Hetherington
2019-01-10Fix a crash due the assertion in emit_audio failing when applyingCarl Hetherington
trims which do not land precisely on a DCP audio sample boundary (at least, I think that's what triggers it).
2018-11-21Tidy and fix logging.Carl Hetherington
2018-11-21Take Film pointer out of Content.Carl Hetherington
2018-11-06Do image crop/scale/window in the butler prepare threads.Carl Hetherington
2018-11-06Switch PlayerVideo::always_rgb to a new ::force and use it in FFmpegFileEncoder.Carl Hetherington
2018-11-06Remove some unused parameters.Carl Hetherington
2018-11-06Add some code to help with profiling the player.Carl Hetherington
2018-08-29Basics of splitting CCAP streams into different assets.Carl Hetherington
2018-07-26Add support for ignoring everything except text in the player.Carl Hetherington
2018-07-23Tidy up after mass rename.Carl Hetherington
2018-07-23More automated renaming.Carl Hetherington
ActiveCaptions -> ActiveText BitmapCaption -> BitmapText ContentCaption -> ContentText ContentTextCaption -> ContentStringText TextCaptionFileContent -> StringTextFileContent TextCaptionFileDecoder -> StringTextFileDecoder TextCaptionFile -> StringTextFile TextCaption -> StringText PlayerCaption -> PlayerText CaptionContent -> TextContent CaptionDecoder -> TextDecoder CaptionPanel -> TextPanel CaptionView -> TextView CaptionAppearanceDialog -> SubtitleAppearanceDialog CaptionType -> TextType
2018-07-22On reflection showing CCAPs over the main picture doesn't make much sense.Carl Hetherington