summaryrefslogtreecommitdiff
path: root/src/lib
AgeCommit message (Collapse)Author
2018-02-25Updated es_ES translation from Manuel AC.Carl Hetherington
2018-02-25Handle errors in subtitle XML better (#1209).Carl Hetherington
2018-02-24Speed some operations by re-using the last PlayerVideo but withCarl Hetherington
updated metadata (where possible). Helps with #1194.
2018-02-24Updated fr_FR translation from Thierry Journet.Carl Hetherington
2018-02-23Another subtitle fix.Carl Hetherington
2018-02-23Fix thinko in previous.Carl Hetherington
2018-02-23Fix implementation of delay in 7758260; it needs to apply toCarl Hetherington
anything passed to emit_video(), not just things that come from decoders.
2018-02-23Fix duplicate frames when padding.Carl Hetherington
2018-02-21Fix crash on decoding incomplete DCP content (e.g. on loading a VF with ↵Carl Hetherington
subtitles into the player).
2018-02-21Bump libdcp; pulls in KDM tweaks but also atmos fix.Carl Hetherington
2018-02-20Add a 2-frame `delay' on content arriving at the player to giveCarl Hetherington
subtitle content the chance to catch up. Fixes problems observed when overlaying a DCP subtitle onto an existing DCP and then seeking into the first subtitle. After the seek the decoder positions were: DCP: 0. subtitle: first subtitle time. This causes the DCP decoder to be pass()ed first and so the subtitle for the video frame has not arrived yet. I hope this does not cause unpredicted side effects...
2018-02-20Add a possible pure virtual method.Carl Hetherington
2018-02-18Hold lock for the whole of Butler::video(). Fixes jumpy nudge-seekCarl Hetherington
when playing DCPs. Before, the lock was only held to check _pending_seek_position. With that arrangement, this sequence was possible: 1. video arrives, check _pending_seek_position, decide it's ok, release lock 2. Butler::seek called, sets _pending_seek_position, clears _video 3. video that arrived in #1 is put into _video by ::video() 4. that video is given to an awaiting get_video() call. This clearly subverts the attempts not to accept new video data while a seek is pending.
2018-02-18Set up seek position correctly when a seek skips over a reel inCarl Hetherington
a DCP.
2018-02-17Fix crash on importing an encrypted DCP.Carl Hetherington
2018-02-16Add log for assertion failure.Carl Hetherington
2018-02-16AudioDecoder::_positions is at the resampled rate, if applicable;Carl Hetherington
fix its initial setup. Fixes problems when seeking deep into resampled content; before this commit the audio time stamps got out of whack sufficiently that the butler would fill with video before any audio made it past the range checks.
2018-02-13Make Config::read() fallback match Config::set_defaults() forCarl Hetherington
_default_dcp_content_type.
2018-02-12Add SWS_ACCURATE_RND to sws flags. Without this, conversions to RGB inCarl Hetherington
crop_scale_window_test leave the 6 pixels at the right side of the image uninitialised (sws_scale doesn't fill them in with anything) so you get garbage in the output. SWS_ACCURATE_RND fixes it. There are whisperings that this is slow, so the impact of this patch may need to be measured in some "real" situations.
2018-02-12Tone some debug messages down slightly.Carl Hetherington
2018-02-10Save decoding resolution reduction between launches (#1195).Carl Hetherington
2018-02-10Use av_guess_frame_rate rather than av_stream_get_r_frame_rate;Carl Hetherington
helps with #1030. I hope this isn't a bad idea; this commit should be reverted if there any hints of misread video frame rates.
2018-02-10Fix odd behaviour when analysing single bits of audio which start at ↵Carl Hetherington
non-zero positions (#1203).
2018-02-09Always pre-roll when seeking in DCPs; I don't think the performanceCarl Hetherington
hit is anything to worry about (especially compared to the time taken to decode the next frame).
2018-02-09Updated ru_RU translation from Igor Voytovich.Carl Hetherington
2018-02-08typeid() doesn't seem to downcast, so just check types in the ↵Carl Hetherington
take_settings_from methods (#1192).
2018-02-08Pass DCP subtitles before video so that they are present when the video ↵Carl Hetherington
frame looks for them.
2018-02-07Fix ignore/referencing logic.Carl Hetherington
2018-02-07Slightly better log message.Carl Hetherington
2018-02-06Fix failure to parse subtitle files with OS X line endings.Carl Hetherington
2018-02-06Ignore video/audio when it is referenced; should help with #1191.Carl Hetherington
2018-02-05Warning fixes.Carl Hetherington
2018-02-05Throw an exception if we try to make KDMs for an unencrypted project (#1188).Carl Hetherington
2018-02-05Fix KDM target buttons for DKDMs too (#1137).Carl Hetherington
2018-02-04Listen for server replies on different ports on main and batch, and get ↵Carl Hetherington
servers to send replies to both (#1190).
2018-02-03Updated de_DE translation from Carsten Kurz.Carl Hetherington
2018-02-02Whitespace.Carl Hetherington
2018-02-02Prior to 2537a2d Decoder::position() was not updated if a decoder emittedCarl Hetherington
data which were ignored by the Player. 2537a2d changed this so that Decoder::position() is always updated, as it could not see the point of the previous behaviour. It now seems that the behaviour prior to 2537a2d fixed problems with cases like remake_with_subtitle_test. With this test the FFmpeg content happens to emit a final frame just after its end point with a gap before it. Code prior to 2537a2d handled this by making sure that FFmpegDecoder::flush() filled the gap (it reads VideoDecoder::position and fills the gap at the end of content accordingly). This no longer works if VideoDecoder::position is updated to take into account the emitted (and ignored) frame just after the end of the content. This commit re-fixes that problem by a different means; Player::video now fills the gaps in this case by more careful handling of received data which is off the end of the content.
2018-02-02Merge branch 'master' of ssh://git.carlh.net/home/carl/git/dcpomaticCarl Hetherington
2018-02-02Fix incorrect pixel format on subtitles when they are sent to encoding servers.Carl Hetherington
2018-02-02Fix ar_LB character set.Carl Hetherington
2018-02-02Starting point for ar_LB translation.Carl Hetherington
2018-02-02Remove some debugging code.Carl Hetherington
2018-02-01Merge.Carl Hetherington
2018-02-01Don't select video streams for which we have no codec; warn in log about ↵Carl Hetherington
streams with no codec (#1184).
2018-02-01Fix up .po files; nothing to see here!Carl Hetherington
2018-02-01Typo kHz -> Hz.Carl Hetherington
2018-02-01Updated sv_SE translation from Adam Klotblixt.Carl Hetherington
2018-02-01Merge branch 'master' of ssh://git.carlh.net/home/carl/git/dcpomaticCarl Hetherington
2018-02-01Enable audio by default.Carl Hetherington