You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mdkVideoBufferPool* pool{}; // can be reused for textures from the same producerwhile (tex = ...) {
player.enqueue(VideoFrame::from(&pool, DX11Resources{
.resource = tex,
.subResource = index,
})//.setTimestamp(...)....
);
}
mdkVideoBufferPoolFree(&pool);
目前我的了解,mdk只能播放有数据源的媒体
如果我有软解出来的YUV数据,D3D11硬解出来的ID3D11Texture2D,DXVA硬解出来的LPDIRECT3DSURFACE9
MDK有办法可以直接渲染吗
The text was updated successfully, but these errors were encountered: