tests: correct capture information
[platform/core/uifw/libtdm.git] / tools / tdm_test_server.c
index 7dff9eb..52e0f61 100644 (file)
@@ -1360,6 +1360,7 @@ capture_setup(tdm_test_server_capture *c, tbm_surface_h b)
                c->info.dst_config.size.v = info.height;
        }
        c->info.dst_config.format = info.format;
+       c->info.type = TDM_CAPTURE_TYPE_ONESHOT;
 
        ret = tdm_capture_set_info(c->capture, &c->info);
        TDM_EXIT_IF_FAIL(ret == TDM_ERROR_NONE);