vdpau: fix destruction of GstVdpDevice when it failed to open
authorCarl-Anton Ingmarsson <ca.ingmarsson@gmail.com>
Fri, 6 Aug 2010 10:14:04 +0000 (12:14 +0200)
committerCarl-Anton Ingmarsson <ca.ingmarsson@gmail.com>
Fri, 6 Aug 2010 10:14:30 +0000 (12:14 +0200)
commitb6f22c519dc018943ed924e1fdbd7405206479cc
treebb57496c51b42a5197f7bc349abfab0fa5611e60
parent8996b80d62dd380990f284a0a73db5c7f280185a
vdpau: fix destruction of GstVdpDevice when it failed to open

only close display in finalize and check if vdp_decoder_destroy is available
before we use it
sys/vdpau/gstvdp/gstvdpdevice.c
sys/vdpau/gstvdp/gstvdpdevice.h