Files
obs-studio/plugins/obs-ffmpeg
CodeYan01 d1a7070d10 obs-ffmpeg: Prevent media source restart
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.
2023-06-23 04:39:52 -07:00
..
2023-05-20 01:31:18 -07:00
2023-05-20 01:31:18 -07:00
2023-05-20 01:31:18 -07:00
2023-05-20 01:31:18 -07:00
2023-05-20 01:31:18 -07:00
2023-05-20 01:31:18 -07:00
2023-05-20 01:31:18 -07:00
2023-05-20 01:31:18 -07:00
2023-05-20 01:31:18 -07:00
2023-05-20 01:31:18 -07:00