mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-21 11:08:24 +02:00
vdpau: implement VideoMixerDestroy
This commit is contained in:
parent
38bd813177
commit
13a50bd47d
1 changed files with 13 additions and 1 deletions
|
|
@ -89,7 +89,19 @@ no_handle:
|
|||
VdpStatus
|
||||
vlVdpVideoMixerDestroy(VdpVideoMixer mixer)
|
||||
{
|
||||
return VDP_STATUS_NO_IMPLEMENTATION;
|
||||
vlVdpVideoMixer *vmixer;
|
||||
|
||||
debug_printf("[VDPAU] Destroying VideoMixer\n");
|
||||
|
||||
vmixer = vlGetDataHTAB(mixer);
|
||||
if (!vmixer)
|
||||
return VDP_STATUS_INVALID_HANDLE;
|
||||
|
||||
vmixer->compositor->destroy(vmixer->compositor);
|
||||
|
||||
FREE(vmixer);
|
||||
|
||||
return VDP_STATUS_OK;
|
||||
}
|
||||
|
||||
VdpStatus
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue