Changeset 7443
- Timestamp:
- Jun 8, 2006, 12:13:31 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/camera/pmFPAfile.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/camera/pmFPAfile.c
r7433 r7443 134 134 } 135 135 136 136 // define a pmFPAfile, bind to the optional fpa if supplied 137 137 pmFPAfile *pmFPAfileDefine(psMetadata *files, psMetadata *camera, pmFPA *fpa, char *name) 138 138 { 139 139 PS_ASSERT_PTR_NON_NULL(files, NULL); 140 140 PS_ASSERT_PTR_NON_NULL(camera, NULL); 141 PS_ASSERT_PTR_NON_NULL(fpa, NULL);142 141 PS_ASSERT_PTR_NON_NULL(name, NULL); 143 142 PS_ASSERT_INT_POSITIVE(strlen(name), NULL); … … 932 931 psArray *infiles = psMetadataLookupPtr(&status, config->arguments, argname); 933 932 if (!status) { 934 ps Error(PS_ERR_IO, false, "Failed to read %s from metadata\n", argname);933 psTrace("pmFPAfile", 5, "Failed to find %s in argument list", argname); 935 934 return NULL; 936 935 } 937 936 if (infiles->n < 1) { 938 psError(PS_ERR_IO, false, "Found n == %d files in %s from metadata\n", infiles->n, argname);937 psError(PS_ERR_IO, false, "Found n == %d files in %s in arguments\n", infiles->n, argname); 939 938 return NULL; 940 939 } … … 1218 1217 // set the view to the corresponding entry for this phu 1219 1218 pmFPAview *view = pmFPAAddSourceFromHeader (file->fpa, phu, format); 1219 if (!view) { 1220 psError(PS_ERR_IO, false, "Unable to determine source for %s", file->name); 1221 return NULL; 1222 } 1220 1223 1221 1224 // XXX is this the correct psMD to save the filename?
Note:
See TracChangeset
for help on using the changeset viewer.
