Allow reading more than 6 sub-frames
This allows all images to be read from a Canon burst raw file. Refactor raw image source to use unique_ptr.
This commit is contained in:
@@ -745,7 +745,7 @@ void BayerProcess::FrameCountChanged(int n, int frameNum)
|
||||
|
||||
imageNumber->remove_all();
|
||||
imageNumber->append("1");
|
||||
for (int i = 2; i <= std::min(n, 6); ++i) {
|
||||
for (int i = 2; i <= n; ++i) {
|
||||
std::ostringstream entry;
|
||||
entry << i;
|
||||
imageNumber->append(entry.str());
|
||||
|
Reference in New Issue
Block a user