tests: image: fix string representation for GstVideoFormat.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 24 Jul 2013 11:55:04 +0000 (13:55 +0200)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Fri, 26 Jul 2013 11:16:52 +0000 (13:16 +0200)
tests/image.c

index 305322b0b5c3abba4346c4efc94d5024a7b12322..4155d82651f8e0ef1946de532fed071a16a25091 100644 (file)
@@ -338,8 +338,8 @@ image_upload(GstVaapiImage *image, GstVaapiSurface *surface)
     if (gst_vaapi_surface_put_image(surface, image))
         return TRUE;
 
-    g_print("could not upload %" GST_FOURCC_FORMAT" image to surface\n",
-            GST_FOURCC_ARGS(format));
+    g_print("could not upload %s image to surface\n",
+            gst_vaapi_video_format_to_string(format));
 
     if (!gst_vaapi_display_has_subpicture_format(display, format, NULL))
         return FALSE;