Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is that an issue in rm_keyframe function? #129

Open
herezt opened this issue Jun 4, 2024 · 1 comment
Open

Is that an issue in rm_keyframe function? #129

herezt opened this issue Jun 4, 2024 · 1 comment

Comments

@herezt
Copy link

herezt commented Jun 4, 2024

    with self.video.get_lock():
        self.video.images[ix] = self.video.images[ix+1]
        self.video.poses[ix] = self.video.poses[ix+1]
        self.video.disps[ix] = self.video.disps[ix+1]
        self.video.disps_sens[ix] = self.video.disps_sens[ix+1]
        self.video.intrinsics[ix] = self.video.intrinsics[ix+1]

        self.video.nets[ix] = self.video.nets[ix+1]
        self.video.inps[ix] = self.video.inps[ix+1]
        self.video.fmaps[ix] = self.video.fmaps[ix+1]

self.video.tstamp is not modified. That will mess up releatioships between timestamps and other fields.

@aabbas90
Copy link

See #53

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

No branches or pull requests

2 participants