Commit Graph

11 Commits

Author SHA1 Message Date
7e2b9fa213 Remove some useless tools/debug.hxx includes
Also remove the tools/solar.h included from tools/debug.hxx. The include of solar.h
header was necessary in some cases because of a macro or a typedef that was needed.

Change-Id: Ia6e15d5c2571c58c9e9138b0d0a7f08ae88053c9
Reviewed-on: https://gerrit.libreoffice.org/11075
Reviewed-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
Tested-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
2014-08-22 16:33:18 -05:00
4359ec6b0b avmedia: remove unused code related to fast-forward
One part of that was removed by:
55d52165df003d253d813f3ea7085f4d89fdb3ce
e.g. setRate()

Change-Id: Ia5def0150029c1597cd505bbaf740a42819a7c73
2014-05-23 22:08:33 +02:00
d2397ab0ad Use correct header guard name in comment at #endif
Change-Id: I2df05054c4108cb173f80ce6fa66f30c713b70cd
2014-05-16 12:43:04 +03:00
7822b5535c Make the MacAVF code build also as 32-bit
When compiling 32-bit OS X code, the code will use the "legacy
Objective-C runtime", which means that instance variables of an
Objective-C class must be declared in the @interface block, not in the
@implementation.

CGRect and NSRect are not the same for 32-bit code.

Also, use boost::unordered_map.

Change-Id: Icc56ff298203565a7568714b0e9f42c7c6b89737
2014-05-16 12:43:03 +03:00
1e74d168e3 loplugin:saloverride
Change-Id: I53a7cd73ff754bf3b019cb36341b2ab09c61e762
2014-05-15 22:45:58 +02:00
9c10d1911b loplugin:bodynotinblock
Change-Id: I9c573af8f378cd0b0cb9898d84b5d566f498f57e
2014-05-15 22:45:23 +02:00
be1913aa1f Argh, it's <ext/hash_map> apparently
Change-Id: Ide91e3302aa17052eb4deb3ddd16ff1ef83401fe
2014-05-15 19:37:57 +03:00
2e6d79799b Use std:#️⃣map when building against libstdc++ (and not libc++)
Change-Id: I7873d99e5982170551ba0ff7b4f383af5935c25b
2014-05-15 19:31:47 +03:00
75c804c1be 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.
2014-05-15 19:03:28 +03:00
754380524d AOO: #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.

Change-Id: I5ace1d1751b38839ef051ce0dc0328308325b269
2014-05-15 18:49:14 +03:00
f3b3144133 AOO: #i124875# support Mac AV-Foundation API for multimedia content
Adapted as needed and gbuildified by tml. For the files that actually
are Objective-C++ use the .mm suffix.

Change-Id: Ieec40b722df6463a1061d19d38154828ff8adca2
2014-05-15 18:49:14 +03:00