Added an error message
This commit is contained in:
parent
3b3583271c
commit
68f5d1e529
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user