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

[Scripting] Level::getFrameIds() returns wrong id for the level of single image #416

Open
kogaki opened this issue Jun 7, 2016 · 4 comments

Comments

@kogaki
Copy link
Member

kogaki commented Jun 7, 2016

>> l = new Level("/Users/keisuke_ogaki/Desktop/ottest4.png") 
Raster level (ottest4, 1 frames)
>> fids = l.getFrameIds();
["-"]
>> l.getFrame("-") #I changed regexp
undefined
>> l.getFrame("-2")
Raster image ( 1920 x 1080 )

getFrameIds must return ["-2"]


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@kogaki kogaki added the bug label Jun 7, 2016
@kogaki
Copy link
Member Author

kogaki commented Jun 7, 2016

This bug was found after other bug #345 was fixed

@artisteacher

This comment has been minimized.

@RodneyBaker

This comment has been minimized.

@RodneyBaker RodneyBaker added this to Input in Ingest Operations Dec 3, 2018
@RodneyBaker
Copy link
Collaborator

RodneyBaker commented Nov 20, 2019

I cannot help but wonder if this issue and #2885 (Fix playback skipping first frame) are related.
The thought being that internals might be counting from 0 instead of 1 or 1 instead of 0, where applicable.

It is unclear if this is still an issue in current releases.
Last confirmation of the issue was via @kogaki in 2016.

@RodneyBaker RodneyBaker changed the title Level::getFrameIds() returns wrong id for the level of single image [Scripting] Level::getFrameIds() returns wrong id for the level of single image Jan 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Development

No branches or pull requests

3 participants