Home
last modified time | relevance | path

Searched hist:"020 bbb1d" (Results 1 – 1 of 1) sorted by relevance

/trunk/main/avmedia/source/macavf/
H A Dmacavf_player.cxxdiff 020bbb1d Thu May 15 09:46:26 UTC 2014 Herbert Dürr <hdu@apache.org> #i124875# use AVAsset's best guess duration if AVPlayerItem isn't ready yet

in AV Foundation the most accurate media asset duration is available when the
AVPlayerItem's status changes to AVPlayerItemStatusReadyToPlay. There already
is an observer for this, but the upper layers expect getDuration() to be
synchronous and to return within a reasonable time. Since returning an
approximation is sufficient using the AVAsset's duration as fallback is fine.


git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1594838 13f79535-47bb-0310-9956-ffa450edef68

Completed in 10 milliseconds