dcmouser
Member
When you add a (video) media source, you get options to: Loop, Restart playback when source becomes active, Close file when inactive.
To save valuable resources, I typically enable this latter option so that when I switch away from a scene with a video it unloads.
But I'd love when I switch back to the scene containing that video source, for it to RESUME playing where it left off when I last switched away from it.
ACTUALLY:
It seems like OBS actually IGNORES the option to "Close file when inactive" if you don't also check the option to "Restart playback", which you can see if you use exeldro's Media Controls plugins (you can see that the file continues playing even when you switch away).
SO
I'd like to propose that this request doesn't even need any new UI options, and that OBS should simply obey the combination of UNCHECKING restart playback and CHECKING "close file when inactive", and in this case implement this by in fact PAUSING the video in this case when switching away, and unpausing it when switching back (or behind the scenes closing and re-seeking on play).
To save valuable resources, I typically enable this latter option so that when I switch away from a scene with a video it unloads.
But I'd love when I switch back to the scene containing that video source, for it to RESUME playing where it left off when I last switched away from it.
ACTUALLY:
It seems like OBS actually IGNORES the option to "Close file when inactive" if you don't also check the option to "Restart playback", which you can see if you use exeldro's Media Controls plugins (you can see that the file continues playing even when you switch away).
SO
I'd like to propose that this request doesn't even need any new UI options, and that OBS should simply obey the combination of UNCHECKING restart playback and CHECKING "close file when inactive", and in this case implement this by in fact PAUSING the video in this case when switching away, and unpausing it when switching back (or behind the scenes closing and re-seeking on play).