The video frame needs to stay mapped while the texture is in use. Avoid using g_memdup because the structure is not supposed to be moved.
The video frame needs to stay mapped while the texture is in use. Avoid using g_memdup because the structure is not supposed to be moved.