Re: Some questions
H}kan Hjort <[email protected]>
| Newsgroups | gmane.comp.video.ogle.devel |
|---|---|
| Message-ID | <[email protected]> |
Sun Aug 11 2002, H}kan Hjort wrote: > Sun Aug 11 2002, Martin Piskernig wrote: > > 2. The DVDGetCurrentLocation returns some strange time values like e.g. > > 0:0:81?! Do I have to "normalize" this value to the usual 60-sec/min > > format (so it's actually 0:1:21)? > > It's supposed to be normalized already. If you can find where this > happens that would be really great. (You know that it's hours, minutes, > seconds and frames, right? Still 81 isn't a number that should appear. > > Just figured out whats wrong. The times are stored in BCD format, but > when I wrote this code I forgot that and so did normal math on them. > Just commited a fix for this to cvs now. The exported time structure now contains values in normal binary notation, not BCD encoded numbers. -- Håkan Hjort