vdpau: fix invalid unref
This commit is contained in:
parent
0a407d7764
commit
624c50bac6
@ -132,7 +132,7 @@ decode_error:
|
||||
("Error returned from vdpau was: %s",
|
||||
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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user