ObsVolumeMeter: Don't use obs_weak_source_expired()

This function is not released yet.

TODO: Reenable its usage when OBS 27.2.0 is released.
This commit is contained in:
tt2468 2021-11-22 20:14:54 -08:00
parent 5704ea2970
commit 6d684eb07f

View File

@ -58,7 +58,8 @@ Utils::Obs::VolumeMeter::Meter::~Meter()
bool Utils::Obs::VolumeMeter::Meter::InputValid()
{
return !obs_weak_source_expired(_input);
// return !obs_weak_source_expired(_input);
return true;
}
json Utils::Obs::VolumeMeter::Meter::GetMeterData()