Changeset 39501 for trunk/ppImage/src
- Timestamp:
- Mar 31, 2016, 6:32:25 AM (10 years ago)
- Location:
- trunk/ppImage/src
- Files:
-
- 2 edited
-
ppImageDetrendReadout.c (modified) (2 diffs)
-
ppImageLoop.c (modified) (1 diff)
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; -
trunk/ppImage/src/ppImageLoop.c
r38233 r39501 7 7 #define ESCAPE(MESSAGE) { \ 8 8 psError(PS_ERR_UNKNOWN, false, MESSAGE); \ 9 pmFPAfileIOChecks(config, view, PM_FPA_AFTER); \ 9 10 psFree(view); \ 11 psFree(stats); \ 10 12 pmFPAfileFreeSetStrict(false); \ 11 13 return false; \
Note:
See TracChangeset
for help on using the changeset viewer.
