summaryrefslogtreecommitdiff
path: root/vcl/StaticLibrary_headless.mk
diff options
context:
space:
mode:
authorHerbert Dürr <hdu@apache.org>2014-05-15 09:46:26 +0000
committerTor Lillqvist <tml@collabora.com>2014-05-15 19:03:28 +0300
commit75c804c1be8acf4c3fc9935b81e696918f33fd9d (patch)
tree038226742d13cda689c06b1439bf89411985aac5 /vcl/StaticLibrary_headless.mk
parentc0a3bc0570439bad6f2e105cb38b4bd073839e05 (diff)
AOO: #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.
Diffstat (limited to 'vcl/StaticLibrary_headless.mk')
0 files changed, 0 insertions, 0 deletions