mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
vafilter: Log out processed surfaces for debug.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3373>
This commit is contained in:
parent
bc4aa017ac
commit
eb0f90f6ec
1 changed files with 4 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue