summaryrefslogtreecommitdiff
path: root/src/lib
AgeCommit message (Collapse)Author
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
2018-02-01pot/merge.Carl Hetherington
2018-01-31I think fix_conflicting_settings is now not required.Carl Hetherington
2018-01-31Disable DCP panel stuff which cannot be altered when a DCP is being referenced.Carl Hetherington
2018-01-31Fix missing subtitles when they start just after the start of a frame.Carl Hetherington
2018-01-31Fix duration/intrinsic duration confusion.Carl Hetherington
2018-01-31Fix sequencing failure in some very specific circumstances.Carl Hetherington
2018-01-30Fix assertion failure in emit_audio.Carl Hetherington
2018-01-21Add const qualifier.Carl Hetherington
2018-01-18Remove a cast from float to double which seemingly causesCarl Hetherington
slight errors in Time::ceil(). Possibly related to #1174.
2018-01-18Move a couple of tests to a more appropriate place.Carl Hetherington
2018-01-17pot/merge.Carl Hetherington
2018-01-17Add recent files list to player.Carl Hetherington