17 "title" :
"Video Input Device",
18 "description" :
"Information about a video input device.",
33 if (strcmp(
string,
"id") == 0)
34 return VuoVideoInputDevice_MatchId;
36 return VuoVideoInputDevice_MatchIdThenName;
44 if (type == VuoVideoInputDevice_MatchId)
65 if (json_object_object_get_ex(js,
"matchType", &o))
68 if (json_object_object_get_ex(js,
"id", &o))
73 if (json_object_object_get_ex(js,
"name", &o))
89 json_object_object_add(js,
"matchType", matchTypeObject);
92 json_object_object_add(js,
"id", idObject);
95 json_object_object_add(js,
"name", nameObject);
106 return strdup(
"Default device");
109 if (value.
matchType == VuoVideoInputDevice_MatchId)