渲染器线程在播放 360 度视频时不调用 SbDecodeTargetGetInfo()



在使用钴在设备上测试360视频时,应用程序渲染器线程会经常调用function sbplayergetCurrentFrame((,但是没有sbdecodetargetInfo((和sbdecodeteTeTeTeTeTeTeTargetRelease((甚至我们返回的sbdecodetetetetecodetetetetarget abiake by函数sbplayergetCurrentFrame((。在howto_decode_to_texture.md中,它告诉了:

Once the application has acquired a valid SbDecodeTarget object through a call to SbPlayerGetCurrentFrame(), it will call SbDecodeTargetGetInfo() on it.

这是否意味着我们没有在函数sbplayergetCurrentFrame((中返回有效的sbdecodetarget,如果是这样,渲染器线程如何检查sbdecodetarget有效还是不有效? 钴版本为10.56829。

我发现我们在没有返回正确的解码目标的情况下称为sbplayergetCurrentFrame((,以便渲染器线程获得无效的目标对象,并且不要调用sbdecodetargetInfo((和sbdecodeteTargetRelease((>

最新更新