Skip to content

Conversation

@failure-to-thrive
Copy link
Contributor

The deleted code induced #156. Of course, getMaxLinecount() returns only 1 when a tracking is not performed yet. I have no idea why that code was there, but it looks to be there intentionaly. So if I've missed something, just dismiss this PR.

@hmoenck
Copy link
Contributor

hmoenck commented Aug 8, 2018

Well, yes, it was there intentionally. Technically a trajectory needs at least two points to be considdered a trajectory (per definition). Maybe there are usecases for writing a trajectory consisting of a single point, so replacing <=1 with <1 seems reasonable.
What is a valid usecase for writing empty trajectories? The downside of course would be, that every time some kind of media is opened, a "trajectory" would be written, although the tracking plugin was never triggered.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants