| deea6bb5 | 15-May-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 AVPlayerIte
#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 (cherry picked from commit 020bbb1d88621b9ceb9fc79a93df7017050e38c6)
show more ...
|
| 6a7d45ef | 12-May-2014 |
Herbert Dürr <hdu@apache.org> |
#i124875# avoid wasteful loading of an AVAsset in MacAVF::Framegrabber
FrameGrabber used to load its own copy of a movie. Since multimedia content is often very data-intensive this should and can be
#i124875# avoid wasteful loading of an AVAsset in MacAVF::Framegrabber
FrameGrabber used to load its own copy of a movie. Since multimedia content is often very data-intensive this should and can be avoided by using the movie asset already available in the Player.
git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1594017 13f79535-47bb-0310-9956-ffa450edef68 (cherry picked from commit 32322404843edfd777f7b843f7e0e2e38f46fabf)
show more ...
|