mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-22 23:28:16 +00:00
vdpau: Fix bogus check before unreffing
This commit is contained in:
parent
16124a1c1e
commit
6e1a735075
1 changed files with 1 additions and 1 deletions
|
@ -594,7 +594,7 @@ gst_vdp_vpp_stop (GstVdpVideoPostProcess * vpp)
|
|||
{
|
||||
if (vpp->mixer != VDP_INVALID_HANDLE)
|
||||
vpp->device->vdp_video_mixer_destroy (vpp->mixer);
|
||||
if (!vpp->device)
|
||||
if (vpp->device)
|
||||
g_object_unref (vpp->device);
|
||||
|
||||
gst_vdp_vpp_flush (vpp);
|
||||
|
|
Loading…
Reference in a new issue