Commit c621a8ac authored by jehan's avatar jehan
Browse files

fix ios cam name to avoid localization issue

parent 9ede7089
......@@ -544,7 +544,7 @@ static void ms_v4ios_detect(MSWebCamManager *obj) {
AVCaptureDevice * device = [array objectAtIndex:i];
MSWebCam *cam=ms_web_cam_new(&ms_v4ios_cam_desc);
cam->name= ms_strdup([[device localizedName] UTF8String]);
cam->name= ms_strdup([[device modelID] UTF8String]);
cam->data = ms_strdup([[device uniqueID] UTF8String]);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment