summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gst/vaapi/gstvaapioverlay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/vaapi/gstvaapioverlay.c b/gst/vaapi/gstvaapioverlay.c
index f3baf75e..b478d439 100644
--- a/gst/vaapi/gstvaapioverlay.c
+++ b/gst/vaapi/gstvaapioverlay.c
@@ -446,7 +446,7 @@ gst_vaapi_overlay_create_output_buffer (GstVideoAggregator * vagg,
*outbuf = NULL;
if ((gst_buffer_pool_acquire_buffer (pool, outbuf, NULL) != GST_FLOW_OK)
- || !outbuf) {
+ || !*outbuf) {
GST_ERROR_OBJECT (overlay, "failed to create output video buffer");
return GST_FLOW_ERROR;
}