if (!upload->need_manual_upload) {
gst_vaapi_image_update_from_buffer(image, inbuf, NULL);
} else { /* manually copy data to image*/
- success = gst_vaapi_upload_buffer_to_image(image, inbuf);
+ success = gst_vaapi_convert_buffer_to_image(image, inbuf);
if (!success)
goto error_put_image;
}
}
static GstCaps *
-gst_vaapi_get_other_support_caps(GstVaapiConvert *upload)
+gst_vaapi_get_other_support_caps(GstVaapiUpload *upload)
{
GstCaps *caps;
caps = gst_caps_from_string(GST_VIDEO_CAPS_YUV("YUY2"));
guint direct_rendering;
unsigned int images_reset : 1;
unsigned int surfaces_reset : 1;
- unsigned int need_manual_convert : 1;
+ unsigned int need_manual_upload : 1;
};
struct _GstVaapiUploadClass {