I think the following is a bug in the Dirac DirectX wrapper, but that
doesn't mean that the actual bug is with my understanding of the
subject, so feel free to close this bug if it sounds silly.
When I call GetDuration(&dur) on the IMultiMediaStream
corresponding to my dirac movie this results in dur being set to 0
and S_OK being returned. This would seem to signal a zero-length
movie.
The DirectX documentation seems to suggest that a return value of
S_FALSE is more appropriate: "Stream contains live data or this
method couldn't determine the duration", where the second part
seems to apply to Dirac.
Logged In: YES
user_id=45365
Sorry, my error: S_FALSE is returned by GetDuration. My code failed to
test correctly for it, though:-)
Logged In: YES
user_id=45365
Now I'm getting very confused. Today GetDuration is returning S_OK again
for me, and I can't make it return S_FALSE. So I'm opening this bug report
again: there is something fishy with the return value of GetDuration.