Changeset 39501 for trunk/ppImage/src/ppImageDetrendReadout.c
- Timestamp:
- Mar 31, 2016, 6:32:25 AM (10 years ago)
- File:
-
- 1 edited
-
trunk/ppImage/src/ppImageDetrendReadout.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppImage/src/ppImageDetrendReadout.c
r37406 r39501 44 44 { 45 45 // XXX test for GPC1? or CAN_HAVE_VIDEO in camera config? 46 bool status = false; 46 47 if (!input) goto done_video_check; 47 48 if (!input->parent) goto done_video_check; … … 49 50 if (!input->parent->parent->hdu) goto done_video_check; 50 51 if (!input->parent->parent->hdu->header) goto done_video_check; 51 if (psMetadataLookupStr(NULL,input->parent->parent->hdu->header,"CELLMODE")) { 52 char *ptr = psMetadataLookupStr(&status,input->parent->parent->hdu->header,"CELLMODE"); 53 if (status) { 52 54 psLogMsg ("ppImage.detrend", PS_LOG_DETAIL, "VIDEO: %d %d %d\n",(int) options->hasVideo,(int) options->useVideoDark, (int) options->useVideoMask); 53 char *Vptr = strchr(p sMetadataLookupStr(NULL,input->parent->parent->hdu->header,"CELLMODE"),'V');55 char *Vptr = strchr(ptr,'V'); 54 56 if (Vptr) { 55 57 hasVideo = options->hasVideo = true;
Note:
See TracChangeset
for help on using the changeset viewer.
