diff --git a/subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudautils.c b/subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudautils.c index 0447647dfd..2fcf1db977 100644 --- a/subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudautils.c +++ b/subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudautils.c @@ -692,7 +692,7 @@ gst_cuda_graphics_resource_free (GstCudaGraphicsResource * resource) } const gchar * -gst_cuda_buffery_copy_type_to_string (GstCudaBufferCopyType type) +gst_cuda_buffer_copy_type_to_string (GstCudaBufferCopyType type) { switch (type) { case GST_CUDA_BUFFER_COPY_SYSTEM: @@ -1528,7 +1528,7 @@ gst_cuda_buffer_copy (GstBuffer * dst, GstCudaBufferCopyType dst_type, cuda_context = GST_CUDA_MEMORY_CAST (dst_mem)->context; GST_TRACE_OBJECT (context, "GL -> %s", - gst_cuda_buffery_copy_type_to_string (dst_type)); + gst_cuda_buffer_copy_type_to_string (dst_type)); return cuda_copy_gl_interop (dst, dst_info, src, src_info, gl_context, cuda_context, stream, TRUE, dst_type); @@ -1543,7 +1543,7 @@ gst_cuda_buffer_copy (GstBuffer * dst, GstCudaBufferCopyType dst_type, cuda_context = GST_CUDA_MEMORY_CAST (src_mem)->context; GST_TRACE_OBJECT (context, "%s -> GL", - gst_cuda_buffery_copy_type_to_string (src_type)); + gst_cuda_buffer_copy_type_to_string (src_type)); return cuda_copy_gl_interop (dst, dst_info, src, src_info, gl_context, cuda_context, stream, FALSE, src_type); @@ -1597,8 +1597,8 @@ gst_cuda_buffer_copy (GstBuffer * dst, GstCudaBufferCopyType dst_type, } GST_TRACE_OBJECT (context, "%s -> %s", - gst_cuda_buffery_copy_type_to_string (src_type), - gst_cuda_buffery_copy_type_to_string (dst_type)); + gst_cuda_buffer_copy_type_to_string (src_type), + gst_cuda_buffer_copy_type_to_string (dst_type)); return gst_cuda_buffer_copy_internal (dst, dst_type, dst_info, src, src_type, src_info, cuda_context, stream); diff --git a/subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudautils.h b/subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudautils.h index 06e94e6a47..8ade84d1b9 100644 --- a/subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudautils.h +++ b/subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudautils.h @@ -204,7 +204,7 @@ typedef enum } GstCudaBufferCopyType; /** - * gst_cuda_buffery_copy_type_to_string: + * gst_cuda_buffer_copy_type_to_string: * @type: The #GstCudaBufferCopyType to get name from * * Returns: The human readable name of @type @@ -212,7 +212,7 @@ typedef enum * Since: 1.22 */ GST_CUDA_API -const gchar * gst_cuda_buffery_copy_type_to_string (GstCudaBufferCopyType type); +const gchar * gst_cuda_buffer_copy_type_to_string (GstCudaBufferCopyType type); /** * gst_cuda_buffer_copy: diff --git a/subprojects/gst-plugins-bad/sys/nvcodec/gstcudamemorycopy.c b/subprojects/gst-plugins-bad/sys/nvcodec/gstcudamemorycopy.c index b362cd4087..a7ded4cad0 100644 --- a/subprojects/gst-plugins-bad/sys/nvcodec/gstcudamemorycopy.c +++ b/subprojects/gst-plugins-bad/sys/nvcodec/gstcudamemorycopy.c @@ -867,8 +867,8 @@ gst_cuda_memory_copy_transform (GstBaseTransform * trans, GstBuffer * inbuf, GST_LOG_OBJECT (self, "Copy %s -> %s failed, checking whether fallback is possible", - gst_cuda_buffery_copy_type_to_string (in_type), - gst_cuda_buffery_copy_type_to_string (out_type)); + gst_cuda_buffer_copy_type_to_string (in_type), + gst_cuda_buffer_copy_type_to_string (out_type)); switch (in_type) { case GST_CUDA_BUFFER_COPY_GL: @@ -890,15 +890,15 @@ gst_cuda_memory_copy_transform (GstBaseTransform * trans, GstBuffer * inbuf, if (in_type == fallback_in_type && out_type == fallback_out_type) { GST_ERROR_OBJECT (self, "Failed to copy %s -> %s", - gst_cuda_buffery_copy_type_to_string (in_type), - gst_cuda_buffery_copy_type_to_string (out_type)); + gst_cuda_buffer_copy_type_to_string (in_type), + gst_cuda_buffer_copy_type_to_string (out_type)); return GST_FLOW_ERROR; } GST_LOG_OBJECT (self, "Trying %s -> %s fallback", - gst_cuda_buffery_copy_type_to_string (fallback_in_type), - gst_cuda_buffery_copy_type_to_string (fallback_out_type)); + gst_cuda_buffer_copy_type_to_string (fallback_in_type), + gst_cuda_buffer_copy_type_to_string (fallback_out_type)); ret = gst_cuda_buffer_copy (outbuf, fallback_out_type, out_info, inbuf, fallback_in_type, in_info, ctrans->context, ctrans->cuda_stream); @@ -922,8 +922,8 @@ gst_cuda_memory_copy_transform (GstBaseTransform * trans, GstBuffer * inbuf, return GST_FLOW_OK; GST_ERROR_OBJECT (self, "Failed to copy %s -> %s", - gst_cuda_buffery_copy_type_to_string (in_type), - gst_cuda_buffery_copy_type_to_string (out_type)); + gst_cuda_buffer_copy_type_to_string (in_type), + gst_cuda_buffer_copy_type_to_string (out_type)); return GST_FLOW_ERROR; }