summaryrefslogtreecommitdiff
path: root/avmedia/source/macavf
AgeCommit message (Collapse)Author
2017-10-09avmedia: consistently use "" and <> in include directivesMike Kaganski
Change-Id: Ic8d0dee5b0af986214dd5967400651903b84422b Reviewed-on: https://gerrit.libreoffice.org/43269 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2017-08-17Fix typosAndrea Gelmini
Change-Id: Iaa9c0aea3ea1a239e378bd714ba335f91bb1faf3 Reviewed-on: https://gerrit.libreoffice.org/41194 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2017-08-07loplugin:casttovoidStephan Bergmann
Change-Id: If1be399a3d310ab6abab6d7e4c8d59dc9648c1a0
2017-01-26Remove dynamic exception specificationsStephan Bergmann
...(for now, from LIBO_INTERNAL_CODE only). See the mail thread starting at <https://lists.freedesktop.org/archives/libreoffice/2017-January/076665.html> "Dynamic Exception Specifications" for details. Most changes have been done automatically by the rewriting loplugin:dynexcspec (after enabling the rewriting mode, to be committed shortly). The way it only removes exception specs from declarations if it also sees a definition, it identified some dead declarations-w/o-definitions (that have been removed manually) and some cases where a definition appeared in multiple include files (which have also been cleaned up manually). There's also been cases of macro paramters (that were used to abstract over exception specs) that have become unused now (and been removed). Furthermore, some code needed to be cleaned up manually (avmedia/source/quicktime/ and connectivity/source/drivers/kab/), as I had no configurations available that would actually build that code. Missing @throws documentation has not been applied in such manual clean-up. Change-Id: I3408691256c9b0c12bc5332de976743626e13960 Reviewed-on: https://gerrit.libreoffice.org/33574 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-01-20loplugin:dynexcspec (macOS), avmediaStephan Bergmann
Change-Id: I71199437cfaaf5f72f3b38a3269e2ae84b282c6d
2017-01-17loplugin:stringconstantStephan Bergmann
Change-Id: Ia8e65f768d47dbbec126545aa1cf859efa59cc38
2016-12-13fix mac build after OSL_TRACE->SAL changes (2)Noel Grandin
Change-Id: I978e45207cd9ba96d487da92a51aaab24258855b
2016-12-13fix mac build after OSL_TRACE->SAL changesNoel Grandin
Change-Id: I811d4b4be5ed20a90f405900b9f8a81b5381dd7c
2016-12-13OSL_TRACE->SAL in avmedia..canvasNoel Grandin
Change-Id: Id9077ea29e7028c12f40abfd4c57756c863e3cd9
2016-12-05convert DecodeMechanism to scoped enumNoel Grandin
Change-Id: I5c56634b1bca8e37fa73d02d2428645301b6c547
2016-09-14loplugin:overrideStephan Bergmann
Change-Id: I73f96cb391a430443f9bb80a5406627c5564dcd9
2016-08-04tdf#88205 Adapt uses of css::uno::Sequence to use initializer_list ctorMuhammet Kara
in SoundHandler, FrameGrabber, Manager, MissingPluginInstaller, and several classes in 'avmedia' module. Change-Id: I9ab42d2ef95f3b0c724a7be9eb9e2389336a6f38 Reviewed-on: https://gerrit.libreoffice.org/27777 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-06-03Teach loplugin:stringconstant about RTL_CONSTASCII_STRINGPARAMStephan Bergmann
Change-Id: I8ff0e104aad045f3835dc8facc760a8339b1d088
2016-06-02a stab at fixing the macosx buildCaolán McNamara
Change-Id: Id50077d03c80819312ed55326d33108e24fd4e30
2016-06-02drop some more RTL_CONSTASCII_USTRINGPARAMNoel Grandin
Change-Id: I528b0ecb5282178d8e727471beb126cb7d3f2eb4
2016-05-11fix mac build: missing quoteCaolán McNamara
Change-Id: Iab61990c27d8de6ec023d9890dc2c69433a4816e
2016-05-11Include cppumaker-generated .hpp, not .hdlStephan Bergmann
Change-Id: Ib0451f26edbfbcdfdca78caa97bd09bc65ec2782
2016-02-09Formatting changes across all modulesChris Sherlock
+ Removed comment cruft + Tab formatting in number of files + Some commented out code removed + Tab characters replaced with spaces + Newline cleanup in quite a few files + Tweak header guard #endifs Change-Id: I3208ff2f047da890edcc49b73389aca22442f5fc Reviewed-on: https://gerrit.libreoffice.org/22221 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2015-11-17Don't assume sal_Unicode is unsigned shortStephan Bergmann
Change-Id: I7fcaa4e86f264182db7f4e46c2388402f801531a
2015-11-16use initialiser list for Sequence<OUString>Noel Grandin
Change-Id: Ia5e47261d1fc6fac2d046656c05a1c5eedb07e02 Reviewed-on: https://gerrit.libreoffice.org/19978 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-10loplugin:nullptr (automatic rewrite; Mac-specific code)Stephan Bergmann
Change-Id: Ib50c9415e1ddd0e6cabc1b737a39a7d101014da9
2015-10-30use uno::Reference::set method instead of assignmentNoel Grandin
Change-Id: I58410209f32f988f258a588364e0b037c2790211
2015-10-12Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann
Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
2015-10-02-Werror,-Wdeprecated-declarationsStephan Bergmann
Change-Id: I9ca369fb5dcb4210db6740eac577e9144b288005
2015-07-17com::sun::uno->css in avmedia and animationsNoel Grandin
Change-Id: Ie4365a488728c39fedacae7650b4b90260e7e44a Reviewed-on: https://gerrit.libreoffice.org/17153 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-06tdf#88206 Change uses of cppu::WeakImplHelper* etc.Takeshi Abe
to the variadic variants, in avmedia. Change-Id: I7fe65771ea5e0d30c7906d0d33acdcbe9e8aa3ff Reviewed-on: https://gerrit.libreoffice.org/16647 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-06-08loplugin:cstylecast: deal with remaining pointer castsStephan Bergmann
Change-Id: I2c65b3bd52bc3d8c3dfb8d05c9dcc5d2a8484549
2015-05-21convert CVT constants to scoped enumNoel Grandin
Change-Id: I7703816b6a1df2bf24c06cdf9992f9982ae724e8 Reviewed-on: https://gerrit.libreoffice.org/15826 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-05-09Remove unused create member functionsStephan Bergmann
Change-Id: I65c77f32e076a0bc5eae2c0cf4626eebfd141972
2015-05-09loplugin:staticmethodsStephan Bergmann
Change-Id: If3dd46119c043daa1498cbeebc9cef2b7b9cafe4
2015-05-09loplugin:implicitboolconversionStephan Bergmann
Change-Id: If9797eb74b624af7374effd73a8642a7d32efb1e
2015-04-15remove unnecessary use of void in function declarationsNoel Grandin
ie. void f(void); becomes void f(); I used the following command to make the changes: git grep -lP '\(\s*void\s*\)' -- *.cxx \ | xargs perl -pi -w -e 's/(\w+)\s*\(\s*void\s*\)/$1\(\)/g;' and ran it for both .cxx and .hxx files. Change-Id: I314a1b56e9c14d10726e32841736b0ad5eef8ddd
2015-04-02loplugin:redundantcastStephan Bergmann
Change-Id: I7eaf3d0fa6abc52a9702dcbe78849d6d1b3963c9
2015-04-01Replace remaining getCppuType et al with cppu::UnoTypeStephan Bergmann
Change-Id: I5321d1e0d29e3f74ae341feb9fba98f401be8358
2015-03-29loplugin:cstylecastStephan Bergmann
Change-Id: Idcc1b71c55d6cfd983ad78e8c0cccf2e2242a659
2015-01-07fdo#84938: convert STREAM_ #defines to 'enum class'Noel Grandin
Change-Id: Ibbf14c7e9a5c1883c1311d4c86f948f74f8e473e
2014-12-27boost::unordered_map -> c++11 std::unordered_mapCaolán McNamara
Change-Id: I28438000c2b0a8e6ce4f5640f861f572c0cb83c8
2014-12-12avmedia: Use appropriate OUString functions on string constantsStephan Bergmann
Change-Id: I1abbe02b6a449d61d6bed5a7659f81ec4cf985fe
2014-11-17sal: clean up public headers with include-what-you-useMichael Stahl
Sadly cannot forward declare "struct {...} TimeValue;". rtl/(u)?string.hxx still include sal/log.hxx but removing osl/diagnose.h was painful enough for now... Change-Id: Id41e17f3870c4f24c53ce7b11f2c40a3d14d1f05
2014-10-31Removed duplicated includesAndrea Gelmini
Change-Id: I5362d997bfa086c9fb1726efcb15132a966684f6 Reviewed-on: https://gerrit.libreoffice.org/12160 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2014-10-06-Werror,-Wnon-virtual-dtorStephan Bergmann
Change-Id: I8fa5c345760185baf1f0fa83c94898b2a5a86719
2014-08-22Remove some useless tools/debug.hxx includesMarcos Paulo de Souza
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-05-23avmedia: remove unused code related to fast-forwardZolnai Tamás
One part of that was removed by: 55d52165df003d253d813f3ea7085f4d89fdb3ce e.g. setRate() Change-Id: Ia5def0150029c1597cd505bbaf740a42819a7c73
2014-05-16Use correct header guard name in comment at #endifTor Lillqvist
Change-Id: I2df05054c4108cb173f80ce6fa66f30c713b70cd
2014-05-16Make the MacAVF code build also as 32-bitTor Lillqvist
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-15loplugin:saloverrideStephan Bergmann
Change-Id: I53a7cd73ff754bf3b019cb36341b2ab09c61e762
2014-05-15loplugin:bodynotinblockStephan Bergmann
Change-Id: I9c573af8f378cd0b0cb9898d84b5d566f498f57e
2014-05-15Argh, it's <ext/hash_map> apparentlyTor Lillqvist
Change-Id: Ide91e3302aa17052eb4deb3ddd16ff1ef83401fe
2014-05-15Use std::hash:map when building against libstdc++ (and not libc++)Tor Lillqvist
Change-Id: I7873d99e5982170551ba0ff7b4f383af5935c25b
2014-05-15AOO: #i124875# use AVAsset's best guess duration if AVPlayerItem isn't ready yetHerbert Dürr
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.