From c409d134dec4917a109ea1eedcbaf233b2b1bc53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Sat, 1 Nov 2014 14:58:13 +0000 Subject: [PATCH] video: fix some g-i / gtk-doc warnings --- gst-libs/gst/video/video-scaler.c | 12 ++++++------ gst-libs/gst/video/video-scaler.h | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/gst-libs/gst/video/video-scaler.c b/gst-libs/gst/video/video-scaler.c index 4d5f3933da..e87fe1094c 100644 --- a/gst-libs/gst/video/video-scaler.c +++ b/gst-libs/gst/video/video-scaler.c @@ -107,7 +107,7 @@ resampler_zip (GstVideoResampler * resampler, const GstVideoResampler * r1, * @n_taps: number of taps to use * @in_size: number of source elements * @out_size: number of destination elements - * @options: (allow none): extra options + * @options: (allow-none): extra options * * Make a new @method video scaler. @in_size source lines/pixels will * be scaled to @out_size destination lines/pixels. @@ -604,24 +604,24 @@ gst_video_scaler_horizontal (GstVideoScaler * scale, GstVideoFormat format, * gst_video_scaler_vertical: * @scale: a #GstVideoScaler * @format: a #GstVideoFormat for @srcs and @dest - * @srcs: source pixels lines + * @src_lines: source pixels lines * @dest: destination pixels * @dest_offset: the vertical destination offset * @width: the number of pixels to scale * - * Vertically combine @width pixels in the lines in @srcs to @dest. + * Vertically combine @width pixels in the lines in @src_lines to @dest. * @dest is the location of the target line at @dest_offset and * @srcs are the input lines for @dest_offset, as obtained with * gst_video_scaler_get_info(). */ void gst_video_scaler_vertical (GstVideoScaler * scale, GstVideoFormat format, - gpointer srcs[], gpointer dest, guint dest_offset, guint width) + gpointer src_lines[], gpointer dest, guint dest_offset, guint width) { GstVideoScalerVFunc func; g_return_if_fail (scale != NULL); - g_return_if_fail (srcs != NULL); + g_return_if_fail (src_lines != NULL); g_return_if_fail (dest != NULL); g_return_if_fail (dest_offset < scale->resampler.out_size); @@ -639,5 +639,5 @@ gst_video_scaler_vertical (GstVideoScaler * scale, GstVideoFormat format, func = video_scale_v_ntap_8888; break; } - func (scale, srcs, dest, dest_offset, width); + func (scale, src_lines, dest, dest_offset, width); } diff --git a/gst-libs/gst/video/video-scaler.h b/gst-libs/gst/video/video-scaler.h index 1a6dab9821..8f6343b472 100644 --- a/gst-libs/gst/video/video-scaler.h +++ b/gst-libs/gst/video/video-scaler.h @@ -69,7 +69,7 @@ void gst_video_scaler_horizontal (GstVideoScaler *scale, void gst_video_scaler_vertical (GstVideoScaler *scale, GstVideoFormat format, gpointer src_lines[], gpointer dest, - guint out_offset, guint width); + guint dest_offset, guint width); G_END_DECLS