summaryrefslogtreecommitdiff
path: root/src/lib
AgeCommit message (Collapse)Author
2021-10-17Basic and slightly inaccurate support for <Space> in subtitles (#2103).v2.15.170Carl Hetherington
Adding horizontal space to a Pango layout is hard, and I think this change probably gets it slightly wrong, but it's a step in the right direction.
2021-10-17Move some functions up the file so we can use them.Carl Hetherington
2021-10-17pot/merge.Carl Hetherington
2021-10-16Always block waiting for audio when exporting.v2.15.169Carl Hetherington
Otherwise if there is non available we'll insert silence and potentially push the audio out of sync (late). May help with #2098.
2021-10-16Use an enum instead of a bool to specify blocking/non-blocking.Carl Hetherington
2021-10-16Add comment.Carl Hetherington
2021-10-15Ignore audio streams that fall too far behind (#2101).Carl Hetherington
2021-10-15Cleanup some unused usings.Carl Hetherington
2021-10-13Add some asserts to check for negative trims.Carl Hetherington
2021-10-13Ignore errors from avcodec_send_packet.Carl Hetherington
After seeking it appears that we often get irrelevant errors from this method. ffplay.c seems to ignore them, and this commit means that we do too (just logging them). I think these errors during a non-seeking "encoding" run could be cause for concern; perhaps we should take more note of them in that case.
2021-10-12Ignore .AppleDouble folders inside DCPs.Carl Hetherington
2021-10-11Don't throw an error when the Butler says it is finished (#2097).Carl Hetherington
2021-10-11Cleanup: use enum class.Carl Hetherington
2021-10-09Don't ignore font settings for DCP subtitles (#2074).v2.15.167Carl Hetherington
2021-10-09Add comment.Carl Hetherington
2021-10-09Cleanup some unused using statements and other bits.Carl Hetherington
2021-10-09More logging in the DCPExaminer.Carl Hetherington
2021-10-09C++11 tidying.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-10-03Add PixelQuanta to VideoContent.Carl Hetherington
2021-10-03Updated it_IT translation from Riccardo Mantani.Carl Hetherington
2021-09-27Make merge return the right alignment even if it's not doing anything.Carl Hetherington
2021-09-27Check that the image used to make a Cairo::ImageSurface is the right ↵Carl Hetherington
alignment and pixel format.
2021-09-27Various alignment tidying/fixups.Carl Hetherington
2021-09-27Remove unused usingCarl Hetherington
2021-09-27Replace aligned bool with enum Alignment.Carl Hetherington
2021-09-27Various alignment adjustments.Carl Hetherington
2021-09-27Some const correctness.Carl Hetherington
2021-09-27Support subs and tidy up a few things.Carl Hetherington
2021-09-27Add accessor for _text.Carl Hetherington
2021-09-27Setup Butler::_prepare_only_proxy on construction.Carl Hetherington
2021-09-27When the player is used in OpenGL mode, pass unscaled XYZ data through to ↵Carl Hetherington
the shader and do colourspace conversion there.
2021-09-27Add new GLError constructor.Carl Hetherington
2021-09-27Remove unused method.own-configCarl Hetherington
2021-09-27Add config location versioning (#2090).Carl Hetherington
2021-09-26Remove some unused using statements.Carl Hetherington
2021-09-26Prefer %userprofile% to %homedrive% and %homepath% for home directory ↵Carl Hetherington
location on Windows. For some strange reason on my laptop %HOMEDRIVE% comes up as z:\ whereas %userprofile% makes more sense.
2021-09-25Read ISDCF Metadata from 2.14.x metadata (#2083).cah
2021-09-21Tweak formatting.v2.15.162Carl Hetherington
2021-09-21Only define UNICODE in src/lib/{cross_windows,util}.cc.Carl Hetherington
2021-09-21Move 'show in file manager' code to cross_*Carl Hetherington
2021-09-20Assorted tidying.Carl Hetherington
2021-09-20Add LastWrittenBy to metadata (#2080).Carl Hetherington
2021-09-20Use a constexpr and a nullptr.Carl Hetherington
2021-09-19include/using sorting and some white space.Carl Hetherington
2021-09-19Remove unused VideoContentProperty::SCALE and listen to CUSTOM_{RATIO,SIZE} ↵Carl Hetherington
instead. ::SCALE was sort-of being used, as it was emitted during examination of video content, but it wasn't being emitted anywhere else (and CUSTOM_{RATIO,SIZE} replace its functionality as far as I can see).
2021-09-19Check _inter_size in ::has_j2k() (fixes #2086).Carl Hetherington
The example in the bug shrinks a content DCP while keeping the container the same. We need to check that neither _out_size nor _inter_size have changed, to check for scaling/padding.
2021-09-19Add state of _reencode_j2k to the video identifier.Carl Hetherington
Otherwise if we change the state of this and re-make a DCP it will not re-encode the J2K.
2021-09-19Remove an unused using.Carl Hetherington