Genvid Forum

ValidateGenvidStatus bugged?


#1

Hi

In GenvidInterface.cpp, this snippet seems wrong. Shouldn’t it be if (!genvid) or if (genvid == nullptr) or similar ?

Otherwise the function returns false pretty much most of the time after the genvid object is initialised, so anything that relies on the return value also fails (for example GetAudioRate, GetAudioFormat, UGenvidVideo::Create)

bool UGenvidInterface::ValidateGenvidStatus(EGenvidStatus gs, const TCHAR* conxtInfo, const TCHAR* streamID) const
{
	if (genvid)
	{
		return false;
	}

Thanks,

Adrian


#2

Hi Adrian,

You are correct, this is a bug in the 1.12.0 version. It has been corrected in 1.13.0 which will be released very soon.

Thanks!
Sophie