Changeset 17911 for trunk/psModules/src/camera/pmFPAfileDefine.c
- Timestamp:
- Jun 4, 2008, 3:32:28 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/camera/pmFPAfileDefine.c (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/camera/pmFPAfileDefine.c
r17634 r17911 237 237 file->fpa = psMemIncrRefCounter(fpa); 238 238 } else { 239 file->fpa = pmFPAConstruct(file->camera );239 file->fpa = pmFPAConstruct(file->camera, file->cameraName); 240 240 } 241 241 … … 482 482 483 483 // build the template fpa, set up the basic view 484 fpa = pmFPAConstruct(config->camera );484 fpa = pmFPAConstruct(config->camera, config->cameraName); 485 485 if (!fpa) { 486 486 psError(PS_ERR_IO, false, "Failed to construct FPA from %s", realName); … … 783 783 784 784 // build the template fpa, set up the basic view 785 fpa = pmFPAConstruct (config->camera);785 fpa = pmFPAConstruct(config->camera, config->cameraName); 786 786 if (!fpa) { 787 787 psError(PS_ERR_IO, false, "Failed to construct FPA from %s", (char *)infiles->data[0]); … … 867 867 868 868 // build the template fpa, set up the basic view 869 pmFPA *fpa = pmFPAConstruct (config->camera);869 pmFPA *fpa = pmFPAConstruct(config->camera, config->cameraName); 870 870 if (!fpa) { 871 871 psError(PS_ERR_IO, false, "Failed to construct FPA for %s", filename); … … 949 949 if (!file) { 950 950 // build the template fpa, set up the basic view 951 fpa = pmFPAConstruct (config->camera);951 fpa = pmFPAConstruct(config->camera, config->cameraName); 952 952 if (!fpa) { 953 953 psError(PS_ERR_IO, false, "Failed to construct FPA for %s", filename); … … 1090 1090 PS_ASSERT_STRING_NON_EMPTY(filename, NULL); 1091 1091 1092 pmFPA *fpa = pmFPAConstruct(src->camera );1092 pmFPA *fpa = pmFPAConstruct(src->camera, psMetadataLookupStr(NULL, src->concepts, "FPA.CAMERA")); 1093 1093 // XXX should this use DefineOutputForFormat? 1094 1094 pmFPAfile *file = pmFPAfileDefineOutput (config, fpa, filename); … … 1139 1139 return NULL; 1140 1140 } 1141 file->fpa = pmFPAConstruct(file->camera );1141 file->fpa = pmFPAConstruct(file->camera, file->cameraName); 1142 1142 1143 1143 return file;
Note:
See TracChangeset
for help on using the changeset viewer.
