summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfred E. Heggestad <aeh@db.org>2014-04-20 14:14:47 +0200
committerAlfred E. Heggestad <aeh@db.org>2014-04-20 14:14:47 +0200
commit1c10dfd1edf9a099cf98bfaaa8b104139b9df3f8 (patch)
treeaadabd321d7e51c05fe44840cb2ed0adc47fbe3e
parentb0f2225587c7fb6244557ed09cdf63e5ac022d6c (diff)
avcapture: use warning() instead of re_printf()
-rw-r--r--modules/avcapture/avcapture.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/avcapture/avcapture.m b/modules/avcapture/avcapture.m
index 564a525..4c4b81d 100644
--- a/modules/avcapture/avcapture.m
+++ b/modules/avcapture/avcapture.m
@@ -60,8 +60,8 @@ static void vidframe_set_pixbuf(struct vidframe *f, const CVImageBufferRef b)
break;
default:
- re_printf("avcapture: pixfmt %c%c%c%c\n",
- type>>24, type>>16, type>>8, type>>0);
+ warning("avcapture: unknown pixfmt %c%c%c%c\n",
+ type>>24, type>>16, type>>8, type>>0);
f->fmt = -1;
f->data[0] = NULL;
return;