mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-18 20:25:25 +00:00
vdpau: fix invalid unref
This commit is contained in:
parent
0a407d7764
commit
624c50bac6
1 changed files with 1 additions and 1 deletions
|
@ -132,7 +132,7 @@ decode_error:
|
||||||
("Error returned from vdpau was: %s",
|
("Error returned from vdpau was: %s",
|
||||||
device->vdp_get_error_string (status)));
|
device->vdp_get_error_string (status)));
|
||||||
|
|
||||||
gst_buffer_unref (GST_BUFFER_CAST (video_buf));
|
gst_buffer_unref (GST_BUFFER_CAST (*video_buf));
|
||||||
|
|
||||||
return GST_FLOW_ERROR;
|
return GST_FLOW_ERROR;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue