Closed NickGenArts closed 12 years ago
Ok, this is a bug. "timeDomain.max" should be defined to kOfxFlagInfiniteMax on still images.
I didn't achieve to reproduce it. Could you send a sam-do command line or a python script that shows the problem? Maybe a bug with a particular reader plugin...
Found it. It's only the case with the InputBuffer plugin.
In the devel branch, the special case code for single images looks for ( timeDomain.min <= kOfxFlagInfiniteMin ) and ( timeDomain.max >= kOfxFlagInfiniteMax ) However, both min and max are set to kOfxFlagInfiniteMin.
The following patch fixes the issue, but I'm not sure it's the best way to fix it.