-
-
Notifications
You must be signed in to change notification settings - Fork 57
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
Pull request Issue #35 nanosleep #46
base: master
Are you sure you want to change the base?
Conversation
Issue #35 |
Sorry for the huge delay!
Using an |
I apologize, its been so long. First of all, this program, in my opinion, reaches into the highest branches of top notchery, so good on you @posva, most people can't reach that high. As for myself, I'll look into this issue a bit more. |
No worries! Take the time you need |
timespec should be getting defined by time.h already, I don't see the need for defining the struct. |
Was able to get nanosleep working
Declared the
timespec
struct above main incatimg.c
, wasn't sure where you wanted it.I tested multiple gifs and provided them in the test-gifs directory, goku.gif is my only concern, as hes going super sayan way quicker with the nanosleep.
I checkout the gif in gimp and the background layer is labled as
Background (1000ms)
as where every other layer is formated such asframe 1 (40ms) (combine)
. Not sure what the deal is. But besides for this, everything (all the other gifs I tested) appears to look very close to the same.