Open GoogleCodeExporter opened 9 years ago
I don't think "AM_SEEKING_CanGetDuration" necessarily means that GetDuration is
guaranteed to always return a duration. GetDuration has a HRESULT which can
indicate failure, which should be handled in any case.
Original comment by h.lepp...@gmail.com
on 28 Dec 2012 at 10:14
The long term plan is also to repeat images, current idea was to repeat it
1000x times at 24 fps, for a total of 42 seconds, so it would get a duration.
Original comment by h.lepp...@gmail.com
on 28 Dec 2012 at 10:23
Ahhh, I thought you already did the "repeat 1000x" thing.
Anyway, GetDuration does return an HRESULT of E_FAIL, which seemed wrong to me,
since AM_SEEKING_CanGetDuration is present and there is indeed at least one
frame available.
As I said, I've worked around it, but the image file was loaded successfully
and these APIs seemed to be telling my application that no frames are available.
Original comment by LoopinF...@gmail.com
on 28 Dec 2012 at 11:30
There isn't a defined duration for a single image, and there are plenty other
file types where determining the duration is not easily possible, so the
presence of frames does not necessarily mean i can deduce a duration from it.
Original comment by h.lepp...@gmail.com
on 29 Dec 2012 at 7:43
Original issue reported on code.google.com by
LoopinF...@gmail.com
on 28 Dec 2012 at 9:24