vdpau: fix invalid unref

This commit is contained in:
Carl-Anton Ingmarsson 2010-09-01 17:45:19 +02:00
parent 0a407d7764
commit 624c50bac6

View file

@ -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;
}