/**
* gst_video_convert_frame:
* @buf: a #GstBuffer
+ * @from_caps: the #GstCaps to convert from
* @to_caps: the #GstCaps to convert to
* @timeout: the maximum amount of time allowed for the processing.
- * @err: pointer to a #GError. Can be %NULL.
+ * @error: pointer to a #GError. Can be %NULL.
*
* Converts a raw video buffer into the specified output caps.
*
{
GstMessage *msg;
GstBuffer *result = NULL;
- GError *error = NULL;
+ GError *err = NULL;
GstBus *bus;
- GstCaps *from_caps, *to_caps_copy = NULL;
+ GstCaps *to_caps_copy = NULL;
GstFlowReturn ret;
GstElement *pipeline, *src, *sink;
guint i, n;