Please, MovieInfo(0,0) return float

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
minimy
Enthusiast
Enthusiast
Posts: 563
Joined: Mon Jul 08, 2013 8:43 pm
Location: off world

Please, MovieInfo(0,0) return float

Post by minimy »

Hi, is possible MovieInfo(0,0) return a float number in nexts versions.
Many movies have 29.97 fps or other float fps number but PB return interger.

I dont undertaind this operation: MovieInfo(0,0)*1000, miliseconds?

Debug MovieLength(0)/MovieInfo(0,0)
I try this to know duration in second but return false duration when fps is not a interger.

Will be fantastic acept MP4 movies.

Thanks!
If translation=Error: reply="Sorry, Im Spanish": Endif