From d469b7274ca0c41b8a44e139ee8477648bb7308c Mon Sep 17 00:00:00 2001 From: Gwenole Beauchesne Date: Wed, 10 Jul 2013 15:52:20 +0200 Subject: [PATCH] image: fix debug message with video format. Fix debug message string with image format expressed with GstVideoFormat instead of the obsolete format that turned out to be a fourcc. This is a regression from git commit e61c5fc. --- gst-libs/gst/vaapi/gstvaapiimage.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gst-libs/gst/vaapi/gstvaapiimage.c b/gst-libs/gst/vaapi/gstvaapiimage.c index 4a67500..2b86908 100644 --- a/gst-libs/gst/vaapi/gstvaapiimage.c +++ b/gst-libs/gst/vaapi/gstvaapiimage.c @@ -273,8 +273,8 @@ gst_vaapi_image_new( g_return_val_if_fail(width > 0, NULL); g_return_val_if_fail(height > 0, NULL); - GST_DEBUG("format %" GST_FOURCC_FORMAT ", size %ux%u", - GST_FOURCC_ARGS(format), width, height); + GST_DEBUG("format %s, size %ux%u", gst_video_format_to_string(format), + width, height); image = gst_vaapi_object_new(gst_vaapi_image_class(), display); if (!image) @@ -422,8 +422,8 @@ _gst_vaapi_image_set_image(GstVaapiImage *image, const VAImage *va_image) image->image = alt_va_image; image->format = format; image->is_linear = TRUE; - GST_DEBUG("linearized image to %" GST_FOURCC_FORMAT " format", - GST_FOURCC_ARGS(format)); + GST_DEBUG("linearized image to %s format", + gst_video_format_to_string(format)); } } } -- 2.7.4