mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-10-26 15:58:51 -04:00
obs-ffmpeg: Fix frame remain after changing file
After changing the media source from video file to audio file, the last video's frame (preloaded) maybe still rendered. This commit ensures that when media source changed to another one without video, clean the source's video output, by simply add judgement to check whether the media has video.
This commit is contained in:
500 Internal Server Error
Gitea Version: 1.28.0+dev-477-g8b6ad49a5f