"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

Unitialized texture ID in Video Playback

Hi, I discovered strange behavior when played with multiple videos in Video Playback sample 3.0.5. Some videos are displayed as black rectangles in release version of my application based on the sample. Sound playback was always OK. When I debugged the app with additional NSLogs, I found that variable frameTextureID in method renderFrameQCAR is used uninitialized! See line glBindTexture(GL_TEXTURE_2D, frameTextureID);I managed to solve the issue with assigning proper value to frameTextureID in PLAYING case statement.My question is: how it is possible that the demo works fine in some conditions even with unitialized variable?