libobs: Add obs_video_active() function

(This commit also modifies UI)

Adds a universal function for determining whether video output is
currently active, rather than having to use video_output_active() on the
value returned by obs_get_video().
This commit is contained in:
jp9000 committed 2019-02-07 17:00:46 -08:00
1 parent 93fc61fa82
commit 82848d513e
4 files changed
+17 -5

No files matched your search

+1 -1
View File
@@ -586,7 +586,7 @@ try {
auto ActiveOrGameCaptureLocked = [this] ()
{
if (video_output_active(obs_get_video())) {
if (obs_video_active()) {
if (manualUpdate)
info(QTStr("Updater.Running.Title"),
QTStr("Updater.Running.Text"));