mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-20 23:40:18 +00:00
vdpau: Fix not uninitializing properly
This commit is contained in:
@@ -239,6 +239,9 @@ bool state_vdpau::init(){
|
||||
* @brief Uninitializes state_vdpau
|
||||
*/
|
||||
void state_vdpau::uninit(){
|
||||
uninitMixer();
|
||||
uninitInterop();
|
||||
hw_vdpau_frame_unref(&lastFrame);
|
||||
glDeleteTextures(4, textures);
|
||||
for(int i = 0; i < 4; i++){
|
||||
textures[i] = 0;
|
||||
|
||||
Reference in New Issue
Block a user