diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2012-05-25 09:25:42 +0200 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2012-05-25 09:25:42 +0200 |
commit | 724b8953b587548cab615aacfd3c78f518f67c8f (patch) | |
tree | 4c7ae4194b72abeb66c6fb4c396e5991dc46c6e7 | |
parent | 51965c99362ea1d37fddc513dba6345fb1b8ea94 (diff) | |
download | cv-724b8953b587548cab615aacfd3c78f518f67c8f.tar.gz cv-724b8953b587548cab615aacfd3c78f518f67c8f.tar.bz2 cv-724b8953b587548cab615aacfd3c78f518f67c8f.zip |
cvg: Use cvGetSize in capture
-rw-r--r-- | cvg.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -140,7 +140,7 @@ capture(gpointer userdata) if (cvg->input_surface) cairo_surface_destroy(cvg->input_surface); - cvg->image = cvCreateImage(cvSize(image->width, image->height), + cvg->image = cvCreateImage(cvGetSize(image), image->depth, image->nChannels); cvCopy(image, cvg->image, NULL); if (!cvg->image) |