diff options
Diffstat (limited to 'video.c')
-rw-r--r-- | video.c | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -6648,6 +6648,14 @@ static void VdpauExitOutputQueue(void) int i; VdpStatus status; + if (VdpauQueue) { + VdpauPresentationQueueDestroy(VdpauQueue); + VdpauQueue = 0; + } + if (VdpauQueueTarget) { + VdpauPresentationQueueTargetDestroy(VdpauQueueTarget); + VdpauQueueTarget = 0; + } // // destroy display output surfaces // @@ -6672,14 +6680,6 @@ static void VdpauExitOutputQueue(void) } VdpauGrabRenderSurface = VDP_INVALID_HANDLE; } - if (VdpauQueue) { - VdpauPresentationQueueDestroy(VdpauQueue); - VdpauQueue = 0; - } - if (VdpauQueueTarget) { - VdpauPresentationQueueTargetDestroy(VdpauQueueTarget); - VdpauQueueTarget = 0; - } } /// |