summaryrefslogtreecommitdiff
path: root/src/wx/film_viewer.cc
AgeCommit message (Collapse)Author
2024-08-03Merge remote-tracking branch 'origin/main' into v2.17.xCarl Hetherington
2024-07-27Fix build with RtAudio 6.Carl Hetherington
2024-07-26Merge branch 'main' into v2.17.xCarl Hetherington
2024-07-26Add AudioBackend::start_stream().Carl Hetherington
2024-07-26Add AudioBackend::abort_stream_if_running().Carl Hetherington
2024-07-26Stop instantiating RtAudio all over the placeCarl Hetherington
and instead just have a singleton. On Windows I saw a situation where the first instantiation would use ASIO and the second WASAPI, causing all kinds of confusion.
2024-06-23Move some stuff into FilmViewer::dcp().Carl Hetherington
2024-06-06Support optimised rendering of YUV420P in OpenGL.Carl Hetherington
2023-11-30Support RtAudio >= 6.Carl Hetherington
There's an API break, mostly about removing the use of exceptions.
2023-08-09Extract Film::Property to its own header to (maybe) increase compilation speed.Carl Hetherington
2023-02-21Catch more exceptions from RtAudio (#2453).Carl Hetherington
2022-10-26Fix player being destroyed while the butler is still using it.Carl Hetherington
2022-10-17Remove some more unnecessary use of shared_ptr.Carl Hetherington
2022-09-16Fix black borders around the preview in some cases (#2331).Carl Hetherington
We need to round the container size to the nearest multiple of 2 so that cropping subsampled sources does not leave gaps. As far as I can see: - the direction that you round x in doesn't matter - it's better to round y up (if you calculate the error in the resulting ratio in each case).
2022-05-26Fix race between the Butler thread starting and audio (perhaps) being disabled.Carl Hetherington
This could cause Butler::audio to be called with _audio_channels = 0 and _disable_audio = false, causing an exception in AudioBuffers when remap() tried to make an AudioBuffers object with a channel count of 0.
2022-05-12Fix build on Debian 9.Carl Hetherington
2022-04-30Fix macOS build.Carl Hetherington
2022-04-29Primitive auto-crop (#1477).Carl Hetherington
2022-04-22Use libdcp's warnings.hCarl Hetherington
2022-04-21Disable warnings around all wx includes.Carl Hetherington
2022-04-21Tidying.Carl Hetherington
2022-04-07Cleanup: remove unused parameter to PlayerVideo::force.Carl Hetherington
2021-11-28Catch exceptions from RtAudio::startStream() in all cases.Carl Hetherington
2021-11-20Extract dpi_scale_factor() to a function.Carl Hetherington
2021-11-14Fix the build for older macOS.Carl Hetherington
2021-11-14Account for DPI scale factors when calculating some sizes (#2118).v2.15.173Carl Hetherington
2021-11-11Remove player activity logging. Fixes #2122.Carl Hetherington
If I remember right this was for swaroop and I suspect nobody else is really interested.
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-09-30Only support GLVideoView when building with wxWidgets >= 3.1.0.Carl Hetherington
2021-09-27Various alignment tidying/fixups.Carl Hetherington
2021-09-27Replace aligned bool with enum Alignment.Carl Hetherington
2021-09-27Various alignment adjustments.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-27Tidy ownership/lifetime of GLVideoView to fix crashes on close.Carl Hetherington
2021-09-27Remove unnecessary _out_size; it looks like we can just use the image size.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-08-17Only warn about lots of frame drops in the player (#2069).Carl Hetherington
2021-04-15Handle errors on startStream more nicely; might help with #1825.Carl Hetherington
2021-04-08Assorted C++11/formatting cleanups.Carl Hetherington
2021-04-03Fix warning in previous.Carl Hetherington
2021-04-03Show an explanatory message if the player is not performing very well (#1932).Carl Hetherington
2021-02-09Handle pending player changes more efficiently.Carl Hetherington
Rather than looping over all changes, possibly calling a refresh method for each, coalesce them.
2021-02-09Move some updates from content_change to player_change.Carl Hetherington
So far as I can see there's no need for them to respond to content_change, and it's neater to do it all in one place.
2021-01-31Use enum class for Film::Property.Carl Hetherington
2021-01-31More enum class additions.Carl Hetherington
2021-01-27Use enum class for VideoRange.Carl Hetherington
2021-01-07BOOST_FOREACH.Carl Hetherington
2021-01-07std::shared_ptrCarl Hetherington
2020-12-23Various tweaks to fix playback at the end of a film (#1858).Carl Hetherington
The most questionable change here is probably how SimpleVideoView::display_next_frame no longer re-schedules itself if the call to get_next_frame returned AGAIN; it seems wrong to do that when FilmViewer::idle_handler() also reschedules itself when display_next_frame() returns AGAIN.