From 68f5d1e529b96eeba32379f7cf254cf730164cf0 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Fri, 12 Oct 2012 16:09:56 +0000 Subject: [PATCH] Added an error message --- src/plugins/video.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/plugins/video.c b/src/plugins/video.c index 196ad53..933b283 100644 --- a/src/plugins/video.c +++ b/src/plugins/video.c @@ -105,6 +105,8 @@ static VideoPhonePlugin * _video_init(PhonePluginHelper * helper) /* FIXME also implement mmap() and streaming */ || (cap.capabilities & V4L2_CAP_READWRITE) == 0) { + helper->error(helper->phone, + "Could not open the video capture device", 1); _video_destroy(video); return NULL; }