summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2020-02-05Missing dep.boost-exception-testCarl Hetherington
2020-02-05Dep.Carl Hetherington
2020-02-05Missing lib in wscript.Carl Hetherington
2020-02-03Try to use backtrace.Carl Hetherington
2020-02-03Another error.Carl Hetherington
2020-02-03Missing include.Carl Hetherington
2020-02-02boost exception test.Carl Hetherington
2020-01-30Various thread cleanups.Carl Hetherington
2020-01-30Use a non-pointer boost::thread and a std::atomic for the stop flag.Carl Hetherington
2020-01-28Missing #include for previous.Carl Hetherington
2020-01-28Fix deadlock during content examination.Carl Hetherington
Before this fix, the following situation could happen in threads A and B: A: Some DONE signal happens; this triggers setup_pieces which takes a lock on the player mutex. B: FFmpegContent::examine takes a lock on the content mutex. B: FFmpegContent::examine adds a stream B: That causes STREAMS PENDING to be emitted. B: This tries to take a lock on the player mutex so it can update _suspended A: setup_pieces tries to access some content information, hence tries to take a lock on the content mutex. Now B is holding the CL and awaiting the PL and A is holding the PL and awaiting the CL. It feels like the root cause of this is that while setup_pieces is happening another change (which would itself cause setup_pieces) is announced, and this isn't dealt with properly. There are two steps here; _suspended is protected with an atomic rather than using _mutex, and also it can cope with being updated recursively.
2020-01-28Fix crash with sub-sample push parts in AudioMerger.v2.15.42Carl Hetherington
Forward-ported from b86b15391074a68149f8c4a51958c7873d74def0 in master.
2020-01-25Warn if doing a gain calculation might cause clipping.Carl Hetherington
2020-01-25Apply fader-based gain calculations to the current gain, not 0dB.Carl Hetherington
2020-01-25Another thinko fix.Carl Hetherington
2020-01-25Fix thinko two commits ago.Carl Hetherington
2020-01-25Cache film length for Player::pass.Carl Hetherington
2020-01-25Use memset for zeroing float buffers; it's faster, and I thinkCarl Hetherington
we get away with it on all the platforms we care about.
2020-01-24Support binary STL subtitle files.Carl Hetherington
2020-01-17Add patron.Carl Hetherington
2020-01-16Make FileError say what path the problem was with.Carl Hetherington
2020-01-14Add some PT-style names to the guesswork on which channel a particular sound ↵Carl Hetherington
file belongs to.
2020-01-14Stop invalid dates causing boost::posix_time to raise exceptions.Carl Hetherington
2020-01-12swaroop variant build fix.Carl Hetherington
2020-01-10Don't truncate active_video_frame_rate to an int otherwise setting fade on ↵v2.15.41Carl Hetherington
non-integer-rate sources behaves oddly.
2020-01-10Fix deadlock.Carl Hetherington
2020-01-10Give DCPDecoder its own ::position which just returns its internalCarl Hetherington
_next time. This is important because Decoder::position does the wrong thing with DCPs in the following case. 1. DCPDecoder emits a subtitle event (start/stop) at time t. 2. There follows a long time T with no subtitle events. During this time the DCPDecoder's position is reported as t (since TextDecoder notes its position as the time of the last thing it emitted --- which is all it reasonably can do, I think). 3. During this T the DCPDecoder may be incorrectly pass()ed because its position is reported as earlier than it really is; this results in video/audio being emitted by the DCPDecoder but other contemporary sources may not be pass()ed. The upshot of this can be that no audio is emitted, as a contemporary audio source is not pass()ed and hence the merger is waiting for audio that will take a long time to come. When the butler is running this can result in audio underruns as the video buffers overflow with no sign of any audio. It is also simpler this way; DCPDecoder was already maintaining the required information.
2020-01-09Update text panel 'why not' note when film's standard is changed.Carl Hetherington
Forward-ported from e8582393bd1367fff36bae8e053d799073d8b2ed in master.
2020-01-09Make the 'why not' messages for VF a bit clearer.Carl Hetherington
Before it sounded like just because we couldn't refer to (e.g.) the audio we couldn't refer to any part of the DCP.
2020-01-08First version of player stress-test management script.Carl Hetherington
2020-01-08Some comments.Carl Hetherington
2020-01-08Some simple-video-view tidy-ups.Carl Hetherington
2020-01-08Fix problems when starting to play after a seek, if the startCarl Hetherington
of playback happens while we are awaiting an idle handler to go through to update the view after the seek. If this idle handler has not gone through the viewer will report an incorrect position, which is used by the FilmViewer to start the audio stream at the wrong time.
2020-01-08Use glTexSubImage2D when possible, as suggested by ↵Carl Hetherington
https://www.khronos.org/opengl/wiki/Common_Mistakes
2020-01-08Basic stress-test function for player.Carl Hetherington
2020-01-08Don't busy-wait when there's nothing to play.Carl Hetherington
2020-01-08Set up things correctly on initialisation.Carl Hetherington
2020-01-08Fix event handling (hopefully).Carl Hetherington
2020-01-08Add assert.Carl Hetherington
2020-01-08Check that get_next_frame succeeds.Carl Hetherington
2020-01-08Fix some crashes.Carl Hetherington
2020-01-08More tidying up.Carl Hetherington
2020-01-08Various cleanups and thread-safety.Carl Hetherington
2020-01-08Remove some friends from FilmViewer.Carl Hetherington
2020-01-08Remove FilmViewer::refresh_view.Carl Hetherington
2020-01-08Move _state_timer into VideoView.Carl Hetherington
2020-01-08Accessor for ClosedCaptionsDialog.Carl Hetherington
2020-01-08Same thing with inter_size.Carl Hetherington
2020-01-08Move _inter_position out of FilmViewer.Carl Hetherington
2020-01-08Move _dropped into VideoView.Carl Hetherington