video: fix some g-i / gtk-doc warnings

This commit is contained in:
Tim-Philipp Müller 2014-11-01 14:58:13 +00:00
parent d2e364ff7a
commit c409d134de
2 changed files with 7 additions and 7 deletions

View file

@ -107,7 +107,7 @@ resampler_zip (GstVideoResampler * resampler, const GstVideoResampler * r1,
* @n_taps: number of taps to use * @n_taps: number of taps to use
* @in_size: number of source elements * @in_size: number of source elements
* @out_size: number of destination 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 * Make a new @method video scaler. @in_size source lines/pixels will
* be scaled to @out_size destination lines/pixels. * be scaled to @out_size destination lines/pixels.
@ -604,24 +604,24 @@ gst_video_scaler_horizontal (GstVideoScaler * scale, GstVideoFormat format,
* gst_video_scaler_vertical: * gst_video_scaler_vertical:
* @scale: a #GstVideoScaler * @scale: a #GstVideoScaler
* @format: a #GstVideoFormat for @srcs and @dest * @format: a #GstVideoFormat for @srcs and @dest
* @srcs: source pixels lines * @src_lines: source pixels lines
* @dest: destination pixels * @dest: destination pixels
* @dest_offset: the vertical destination offset * @dest_offset: the vertical destination offset
* @width: the number of pixels to scale * @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 * @dest is the location of the target line at @dest_offset and
* @srcs are the input lines for @dest_offset, as obtained with * @srcs are the input lines for @dest_offset, as obtained with
* gst_video_scaler_get_info(). * gst_video_scaler_get_info().
*/ */
void void
gst_video_scaler_vertical (GstVideoScaler * scale, GstVideoFormat format, 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; GstVideoScalerVFunc func;
g_return_if_fail (scale != NULL); 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 != NULL);
g_return_if_fail (dest_offset < scale->resampler.out_size); 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; func = video_scale_v_ntap_8888;
break; break;
} }
func (scale, srcs, dest, dest_offset, width); func (scale, src_lines, dest, dest_offset, width);
} }

View file

@ -69,7 +69,7 @@ void gst_video_scaler_horizontal (GstVideoScaler *scale,
void gst_video_scaler_vertical (GstVideoScaler *scale, void gst_video_scaler_vertical (GstVideoScaler *scale,
GstVideoFormat format, GstVideoFormat format,
gpointer src_lines[], gpointer dest, gpointer src_lines[], gpointer dest,
guint out_offset, guint width); guint dest_offset, guint width);
G_END_DECLS G_END_DECLS