csparker247 / ffdropenc

A macOS utility for batch encoding video files.
GNU General Public License v3.0
6 stars 0 forks source link

Fix bugs with directories of image sequences #34

Closed csparker247 closed 3 years ago

csparker247 commented 3 years ago

This fixes #31, where image sequences were getting added to the queue multiple times. This was caused by std::sort of QueueItem pointers, rather than sorting the items themselves.

This also only calculates image sequence starting indices when they're actually needed. This significantly reduces queue startup time when dropping directories containing image sequences.