mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-01-29 08:31:54 -05:00
Some options do not require a media source restart. Saving source unchanged source settings should also not trigger a restart. I tried to also make it so speed changes do not require a restart by manipulating the elapsed timestamp for the source, but it sometimes causes the first few milliseconds after saving settings to be rough or slightly distorted. I am also unsure whether a/v frame buffers should be cleared on a speed change (and how to) so I made it so restarts are required for speed changes. Chiyo also mentioned that successive quick speed changes will cause maximum audio buffering (which I was able to reproduce once). Nonlocal file playback is unaffected, and will cause the media source to restart because I am not aware of the possible consequences and because there's no restart button for it. Changing "Apply alpha in linear space" is only visible after a few milliseconds (when mp_media_next_video is called for new frames). If `is_stinger` and `full_decode` are toggled during runtime, even though it shouldn't be possible as they are not accessible in the UI, a media restart will be triggered.