test_output: fix build failure

Use new uterm_video constructor. This requires hard-coding the DRM card
but this is needed until we use the uterm_monitor interface.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
This commit is contained in:
David Herrmann 2012-05-05 22:49:29 +02:00
parent 3acc23c932
commit efcc519458

View File

@ -182,7 +182,7 @@ int main(int argc, char **argv)
goto err_fail;
log_notice("Creating video object...");
ret = uterm_video_new(&video, UTERM_VIDEO_DRM, eloop);
ret = uterm_video_new(&video, eloop, UTERM_VIDEO_DRM, "/dev/dri/card0");
if (ret)
goto err_exit;