obs-ffmpeg: Add "restart when active" media source property
Adds the option of making the media file restart when the source becomes active (such as switching to a scene with it). Due to lack of libff features to start/stop/pause/seek media files, currently this just destroys the demuxer and recreates it. Ideally, libff should have some functions to allow a more optimal means of doing those things.
This commit is contained in:
@@ -21,6 +21,7 @@ DiscardBiDir="Bi-Directional Frames"
|
||||
DiscardNonIntra="Non-Intra Frames"
|
||||
DiscardNonKey="Non-Key Frames"
|
||||
DiscardAll="All Frames (Careful!)"
|
||||
RestartWhenActivated="Restart playback when source becomes active"
|
||||
|
||||
MediaFileFilter.AllMediaFiles="All Media Files"
|
||||
MediaFileFilter.VideoFiles="Video Files"
|
||||
|
Reference in New Issue
Block a user