summaryrefslogtreecommitdiff
path: root/src/lib/player.cc
AgeCommit message (Collapse)Author
2017-05-21Remove debug.Carl Hetherington
2017-05-21Do resampling in AudioDecoder rather than Player.Carl Hetherington
This fixes the problem where the decoder's position would not take into account that all samples pushed into the resampler do not always immediately come out. This would result in Player thinking that there would be gaps when there are not.
2017-05-19Fix infinite loop with referenced audio.Carl Hetherington
2017-05-18Fix audio fill in the presence of audio delay.Carl Hetherington
2017-05-18Fix order of pass/fill; only round up at the end of the playlist, not on ↵Carl Hetherington
every fill.
2017-05-18Player should fill towards the next video frame.Carl Hetherington
2017-05-17Merge branch 'master' of ssh://git.carlh.net/home/carl/git/dcpomaticCarl Hetherington
2017-05-17Speculative corresponding audio fix to 732c9008999e4eeff01a72b84d2bc99dc77bd602.Carl Hetherington
2017-05-17Respect _no_video and _no_audio when filling.Carl Hetherington
2017-05-17Speculative fix when solves problems when FFmpeg content has sound but ↵Carl Hetherington
missing video at its end. May cause other problems.
2017-05-17Put audio-gap padding in the right place (after the forthcoming audio has ↵Carl Hetherington
been checked and processed).
2017-05-16Fix _last_video_time with 3D.Carl Hetherington
2017-05-16Fix black fill where there is no earliest content.Carl Hetherington
2017-05-16Re-merge _last_{video,audio}_time and _last_seek_time; fix _last_video to ↵Carl Hetherington
work correctly with different pieces.
2017-05-16Fix failure to fill FFmpeg gaps at the start of films.Carl Hetherington
2017-05-16Fix slightly short video reels in some cases.Carl Hetherington
2017-05-16Fix missing pad of gaps caused by delays in audio content at the start of a ↵Carl Hetherington
Film. Rename pull_from -> pull_to.
2017-05-15Fix missing subtitle in some cases.Carl Hetherington
With this timeline: -------> t SUB1 SUB2 X We might seek to X, then pass(). Before this change, SUB1 would have been emitted by the call to the subtitle decoder, then we'd have emitted some black for X. This would lose SUB2. Now we keep pass()ing and don't emit X until it's the earliest thing (in the same way that the main decision of what to pass() works).
2017-05-13Fill audio in the Player.Carl Hetherington
2017-05-08Correctly stop when we have no decoders and we haven't filled.Carl Hetherington
2017-05-08Fix assertion failure if rounding reduces remaining frames to 0.Carl Hetherington
2017-05-08Fix up black-filling logic.Carl Hetherington
2017-05-08Player is not finished if it's still filling in blank space.Carl Hetherington
2017-05-08Small refactoring.Carl Hetherington
2017-05-08More comment updates.Carl Hetherington
2017-05-08Fix comment.Carl Hetherington
2017-05-08Some comments and cleanup.Carl Hetherington
2017-05-08Pull ActiveSubtitles code out to a class.Carl Hetherington
2017-05-08Fix fill of timeline periods where there is no video.Carl Hetherington
2017-05-07Remove unused code.Carl Hetherington
2017-05-05Temporary-ish TODO.Carl Hetherington
2017-05-05Keep active subtitles around until the video they are on has been emitted.Carl Hetherington
2017-05-05Don't seek a piece if the seek is outside its boundary.Carl Hetherington
2017-04-30Fix some cppcheck warnings.Carl Hetherington
2017-04-27Initial work on removing storage of subtitle times.Carl Hetherington
2017-04-23Tidy up _last_video_time to make it more like _last_audio_time.Carl Hetherington
2017-04-23Fix seeking; seek all decoders even if they have no content at theCarl Hetherington
seek position, and make Player cope with the FFmpegDecoder emitting pre-roll data. This seems nicer than making FFmpegDecoder do it.
2017-04-23Discard audio received before the time of the last accurate seek.Carl Hetherington
2017-04-23Cope better with the butler thread throwing an exception; stop the butler ↵Carl Hetherington
doing anything so that the exception can be reported.
2017-04-19Various fixes to seeking with audio.Carl Hetherington
2017-04-19Reset _last_*_time as required.Carl Hetherington
2017-04-19Several fixes to audio.Carl Hetherington
2017-04-19Seemingly basically working butler for video.Carl Hetherington
2017-04-19Handle end-trim correctly in player; there is scope to make this more ↵Carl Hetherington
efficient by adjusting decoders.
2017-04-19Fix crash brought on by previous.Carl Hetherington
2017-04-19Restore upmixer_a_test and fix resampler flushing.Carl Hetherington
2017-04-19Fix merging of audio in various circumstances.Carl Hetherington
2017-04-19Fix skip-frame.Carl Hetherington
2017-04-19Don't emit zero-sample buffers.Carl Hetherington
2017-04-19Fix black fill when first content is not at 0.Carl Hetherington