tests: simple-encoder: fix build error
authorVineeth TM <vineeth.tm@samsung.com>
Mon, 15 Feb 2016 01:01:54 +0000 (10:01 +0900)
committerVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
Mon, 15 Feb 2016 17:20:44 +0000 (18:20 +0100)
argument mismatch of gsize with 'long unsigned int'

https://bugzilla.gnome.org/show_bug.cgi?id=762055

tests/simple-encoder.c

index b424d69..b827604 100644 (file)
@@ -442,7 +442,8 @@ app_run (App * app)
 
     app->read_frames++;
     id = gst_vaapi_surface_get_id (surface);
-    g_debug ("input frame %d, surface id = %lu", app->read_frames, id);
+    g_debug ("input frame %d, surface id = %" G_GSIZE_FORMAT, app->read_frames,
+        id);
 
     gst_vaapi_surface_proxy_unref (proxy);
   }