Changeset 40745
- Timestamp:
- 08/14/17 18:18:36 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/plugins/instar/instar.h
r35885 r40745 48 48 else if(getconfigint("instar_1", NULL) == 3) 49 49 tmpstr = ostrcat(cam1, "/onvif/GetSnapshotUri", 0, 0); 50 else if(getconfigint("instar_1", NULL) == 4) 51 tmpstr = ostrcat(cam1, "/image", 0, 0); 50 52 else 51 53 tmpstr = ostrcat(cam1, "/snapshot.cgi", 0, 0); … … 63 65 else if(getconfigint("instar_2", NULL) == 3) 64 66 tmpstr = ostrcat(cam2, "/onvif/GetSnapshotUri", 0, 0); 67 else if(getconfigint("instar_2", NULL) == 4) 68 tmpstr = ostrcat(cam2, "/image", 0, 0); 65 69 else 66 70 tmpstr = ostrcat(cam2, "/snapshot.cgi", 0, 0); … … 236 240 addchoicebox(typCam1, "2", "2"); 237 241 addchoicebox(typCam1, "3", "3"); 242 addchoicebox(typCam1, "4", "4"); 238 243 setchoiceboxselection(typCam1, getconfig("instar_1", NULL)); 239 244 changemask(ipCam1, "abcdefghijklmnopqrstuvwxyz"); … … 253 258 addchoicebox(typCam2, "2", "2"); 254 259 addchoicebox(typCam2, "3", "3"); 260 addchoicebox(typCam2, "4", "4"); 255 261 setchoiceboxselection(typCam2, getconfig("instar_2", NULL)); 256 262 changemask(ipCam2, "abcdefghijklmnopqrstuvwxyz");
Note: See TracChangeset
for help on using the changeset viewer.