From eb0f90f6ec59b75c5c61d12063d33e93cc15f46c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Manuel=20J=C3=A1quez=20Leal?= Date: Wed, 9 Nov 2022 14:59:41 +0100 Subject: [PATCH] vafilter: Log out processed surfaces for debug. Part-of: --- subprojects/gst-plugins-bad/sys/va/gstvafilter.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/subprojects/gst-plugins-bad/sys/va/gstvafilter.c b/subprojects/gst-plugins-bad/sys/va/gstvafilter.c index 1ff5a743aa..a6c197012a 100644 --- a/subprojects/gst-plugins-bad/sys/va/gstvafilter.c +++ b/subprojects/gst-plugins-bad/sys/va/gstvafilter.c @@ -1617,8 +1617,8 @@ _create_pipeline_buffer (GstVaFilter * self, GstVaSample * src, return FALSE; } - GST_TRACE_OBJECT (self, "Created VABufferID %#x with %u filters", *buffer, - num_filters); + GST_TRACE_OBJECT (self, "Created VABufferID %#x with %u filters: " + "src %#x / dst %#x", *buffer, num_filters, src->surface, dst->surface); return TRUE; } @@ -1668,7 +1668,8 @@ gst_va_filter_process (GstVaFilter * self, GstVaSample * src, GstVaSample * dst) status = vaRenderPicture (dpy, self->context, &buffer, 1); if (status != VA_STATUS_SUCCESS) { - GST_ERROR_OBJECT (self, "vaRenderPicture: %s", vaErrorStr (status)); + GST_ERROR_OBJECT (self, "vaRenderPicture: %s with buffer %#x", + vaErrorStr (status), buffer); goto fail_end_pic; }