summaryrefslogtreecommitdiff
path: root/avmedia
AgeCommit message (Collapse)AuthorFilesLines
2016-03-24Resolves: tdf#96989 videos playback at maximum possible volumeCaolán McNamara2-6/+23
On systems with flat-volumes then setting the volume directly on the playbin to 100% results in resetting the global volume to the maximum possible volume. We expect to set as % of the current system volume. Putting an intermediate volume object into the pipeline does the more expected thing. Change-Id: I911d6fffba0983e4fd7b455e820959a96115de34 (cherry picked from commit d4b48e0de7f817c0d4607382724778acf191f9f8) Reviewed-on: https://gerrit.libreoffice.org/23326 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-03-15vcl: move graph.[hx]xx to graphic.[hc]xxChris Sherlock7-7/+7
It's IMO a bit confusing to see a "graph" header that doesn't strictly deal with graphs, but graphics. Backporting to 5.1 series to allow for easier backporting of other potential hotfixes. Change-Id: Ic37c6cd78e23d05939486f98667144c4453bb0a3 Reviewed-on: https://gerrit.libreoffice.org/22949 Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2016-03-11fix for 10 sec hang with audio-only formats with gstreamer1Caolán McNamara1-1/+2
just do the same as we did for gstreamer 0.10 and set the size found condition once we get the message even if there is no size Change-Id: I826d76dd1097432e5bd33d4acc1a187b8e5068da (cherry picked from commit 702790258c6b3ec05ce04f7c2839a48776381535) Reviewed-on: https://gerrit.libreoffice.org/23118 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com>
2016-02-22Fix mis-edit in d0652bfd2b87fad10c141e3bf3f5d0c0a8683cb5Tor Lillqvist1-1/+1
Change-Id: I637544c19c407389041343c951e7cbb7129bc1a2 (cherry picked from commit 86adc4fb85e2f392f74909eb921a4637148530bc) Signed-off-by: Michael Stahl <mstahl@redhat.com>
2016-02-19gtk3+wayland: implement video playback under gtk3 + waylandCaolán McNamara3-100/+150
split the gtk2 and gtk3 gtkobjects (cherry picked from commit 31fa4545985acc1594107e087cedc2d99b3d0f0b) Change-Id: I32084232c44a12e9641010b51e75710abc827695 rename X11WindowProvider to a NativeWindowHandle provider sort of thing and genericize it (cherry picked from commit e35e762d564da18b0b508112f3e4d78fd26ba99c) Change-Id: I27e1e47f2b371e5269db079cfc1262d056105f80 implement wayland handle passing for gstreamer Change-Id: I3b0effe35ad7b37ff7ab3de2a3b78b6312779139 (cherry picked from commit c0d4f3ad3307c7a0d0fddd8c413ef0cc91d382ae) gtk3+wayland: play video via gtksink gstreamer element (cherry picked from commit 8543fbc72fafc0d71a8760752ca2ef5b7119cb5c) Change-Id: Ib371fa06eda73962cbe94739e69a68b46c26e4bf Reviewed-on: https://gerrit.libreoffice.org/22462 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2015-12-02Use Get/SetWindowLongPtr, for 64-bit buildStephan Bergmann1-2/+2
Change-Id: I3041d93f98e491e4600da78a0d1f6100be1177a7 (cherry picked from commit cff54fb87a25a5445a2110e102a3de2b8226a21c)
2015-12-02Use Get/SetWindowLongPtr, for 64-bit buildStephan Bergmann1-2/+2
Change-Id: I6d763369aa0c142ec0b0b9fb08aeb212eaae7f2f (cherry picked from commit 0e8c79ab99d284e08a85293e58c94530df69230f)
2015-12-02-Werror,-Wint-to-pointer-castStephan Bergmann4-19/+27
Change-Id: Iec98a5a3df5dcfcd3fcf658bf27e9b5fe57ffc44 (cherry picked from commit 6cd09d31f48539d2ba8ae89f0725e6fbef37b920)
2015-11-17other #includes should be AFTER the include-once #defineNoel Grandin1-2/+2
found with the following script: git ls-files *.hxx | xargs perl -0777 -ne 'if (/include.* .* .* "; close ARGV }' Change-Id: I3afb0e81eb315c34bc0eb6bb4733dd1f0537d5c0
2015-11-17Don't assume sal_Unicode is unsigned shortStephan Bergmann4-4/+4
Change-Id: I7fcaa4e86f264182db7f4e46c2388402f801531a
2015-11-16use initialiser list for Sequence<OUString>Noel Grandin4-9/+4
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-15use initialiser for Sequence<OUString>Noel Grandin11-22/+11
using variations of: git grep -lP 'Sequence.*OUString.*\(\s*1\s*\)' | xargs perl -0777 -pi -e "s/Sequence<OUString> (\w+)\(1\)\; \s*OUString\* pArray.*; .*\[0\]\s*=\s*(\S+)\;/Sequence<OUString> \1 { \2 };/g" Change-Id: I03c64334ff30ee14dce0d17b67f5122a3893bbe3 Reviewed-on: https://gerrit.libreoffice.org/19971 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-15use initialiser for Sequence<OUString>Noel Grandin1-2/+1
replaced using: git grep -lP 'Sequence.*OUString.*\(\s*1\s*\)' | xargs perl -0777 -pi -e "s/Sequence<\s*OUString\s*> (\w+)\(\s*1\s*\); .*\[0\] = (\S+);/Sequence<OUString> \1 { \2 };/g" Change-Id: I20ad0489da887a9712982531c3b127339bb8b3b9 Reviewed-on: https://gerrit.libreoffice.org/19969 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-15use initialiser syntax for Sequence<OUString>Noel Grandin9-18/+9
replaced using the script: git grep -lP 'Sequence.*OUString.*\(1\)' | xargs perl -0777 -pi -e "s/Sequence< OUString > (\w+)\(1\); .*\[0\] = (\S+);/Sequence< OUString > \1 { \2 };/g" Change-Id: I23688a91562051a8eed11fc2a85599545c285c34 Reviewed-on: https://gerrit.libreoffice.org/19967 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-12Bin mesa_headers completelyTor Lillqvist2-2/+0
We don't need them in a MSVC or OS X compilation either. Change-Id: I00181fe0a047df09bbdfcce34c07eb2ebc45a2da
2015-11-12Avoid mesa_headers on X11, also link with -lGL only where necesssaryTor Lillqvist2-2/+2
The GLEW headers are enough, and what we actually use in these places. In addition to handling GL extension things in its dynamic fashion, GLEW headers also have declarations for standard, non-extension, OpenGL API, including xgl and wgl ones. Most likely we don't need mesa_headers on Windows or OS X either, and can drop them completely. Change-Id: Ic0d8d6238c862f8fe4a74e99e95344dcbf540980
2015-11-115th step to remove tools/rtti.hxxOliver Specht1-1/+1
tools/rtti.hxx removed completed the interface of some Sdr.* Items and removed pseudo items Change-Id: I0cdcd01494be35b97a27d5985aa908affa96048a Reviewed-on: https://gerrit.libreoffice.org/19837 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Oliver Specht <oliver.specht@cib.de>
2015-11-10loplugin:nullptr (automatic rewrite; Mac-specific code)Stephan Bergmann6-13/+13
Change-Id: Ib50c9415e1ddd0e6cabc1b737a39a7d101014da9
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann22-68/+68
Change-Id: Ib3f24439ffda42d217300dcc0ca979964ade360a
2015-11-09new loplugin: oncevarNoel Grandin2-5/+2
Change-Id: If57390510dde4d166be3141b9f658a7453755d3f Reviewed-on: https://gerrit.libreoffice.org/19815 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-06loplugin:stringconstant: elide explicit ctor usage (automatic rewrite)Stephan Bergmann1-1/+1
Change-Id: I154cad87f3015783726ea8f533f79bdbc3efc0a0
2015-11-04loplugin:stringconstantStephan Bergmann1-1/+1
Change-Id: I182d3b11e7b216f5bdd4d0a850f6a21a100425ef
2015-11-04yyyyyNoel Grandin1-1/+1
Change-Id: I9a947beefd2dfe21da8239e841ea3fb416bd1548
2015-10-30use uno::Reference::set method instead of assignmentNoel Grandin15-18/+18
Change-Id: I58410209f32f988f258a588364e0b037c2790211
2015-10-25Replace boost::bind by lambdas in avmedia tree.Mario J. Rugiero2-4/+2
Change-Id: I0072ba9972a6c4d1565b1d3826202ff11f0c335d Reviewed-on: https://gerrit.libreoffice.org/19582 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-21Improve awkward dialog titleAdolfo Jayme Barrientos1-1/+1
Please never use the word “dialog” in a dialog’s title. It’s obvious. This string has led to confused translations. Change-Id: Id55d45a48630e5f3d3f01d4eee87240f9907a803
2015-10-14avmedia/quicktime: replace OSL_TRACE with SAL_INFODouglas Mencken3-18/+27
Change-Id: Ic001787cbb0b08242f74331c54a597103b8d2648 Reviewed-on: https://gerrit.libreoffice.org/19351 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-12Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann27-323/+323
Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
2015-10-12convert Link<> to typedNoel Grandin2-20/+15
Change-Id: Iec15042138e0715459b2c9e872a7464d75a6b1eb Reviewed-on: https://gerrit.libreoffice.org/19305 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-07Prefer getSelectedFiles to getFiles (sfx2+sw)Julien Nabet1-1/+1
+ tweak files of other modules which needed it Change-Id: Ibb673eba6609734addd233ac1477698c01b94678 Reviewed-on: https://gerrit.libreoffice.org/19180 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2015-10-02-Werror,-Wdeprecated-declarationsStephan Bergmann2-0/+6
Change-Id: I9ca369fb5dcb4210db6740eac577e9144b288005
2015-09-29tdf#94559: first step to remove rtti.hxxOliver Specht1-1/+1
replaced use of PTR_CAST, IS_TYPE, ISA in avmedia, basctl, basic, cui, dbaccess, vcl,xmloff Change-Id: If4496762e82e896b6fbc362e6626502703c245f5 Reviewed-on: https://gerrit.libreoffice.org/18905 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Oliver Specht <oliver.specht@cib.de>
2015-09-20convert Link<> to typedNoel Grandin2-17/+14
Change-Id: I10b050dc4aae45e646761a82520caa96969bc511 Reviewed-on: https://gerrit.libreoffice.org/18700 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-14boost->stdCaolán McNamara2-2/+1
Change-Id: I3fd9e1599c5ad812879a58cf1dabbcd393105e1c Reviewed-on: https://gerrit.libreoffice.org/18564 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-08tdf#94006 - need an explicit dispose for GLContext's SystemChildWindow.Michael Meeks1-0/+1
Previously we would get an explicit ~OpenGLContext - and potentially leave FMR's around for other OGC users, now we treat the other users properly - we need an explicit dispose() to get Window::dispose ordering right. Change-Id: I5edcbd73399b6db3dbcfb391570f364f9ab0c70d Reviewed-on: https://gerrit.libreoffice.org/18412 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2015-09-08tdf#94006 - fix OpenGLContext mis-use in several places.Michael Meeks4-15/+16
gltf rendering, OpenGL canvas, GL transitions & GL capable (charts) Avoid GLX operations on un-initialized contexts. Change-Id: I7f523640f66ab656896181e5c865879234f6640e
2015-09-07tdf#93996 - throttle gltf rendering to let UI re-rendering get in.Michael Meeks1-1/+3
Change-Id: I4a61595294c24a609a5952ce72f9f88524969784
2015-09-07cppcheck: noExplicitConstructorCaolán McNamara1-2/+2
Change-Id: I2a1add8cf526cdb305ad99ccb138454a88f2fdbd
2015-09-04convert Link<> to typedNoel Grandin2-12/+6
Change-Id: I4d6c37e82a5b96c09b989df248f94f0afe228b46 Reviewed-on: https://gerrit.libreoffice.org/18305 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-08-28make PostUserEvent Link<> typedNoel Grandin1-5/+3
Change-Id: I13f10bda985d55d419a5bff481130a456ae2db8a
2015-08-25make pWindow private in SfxChildWindowNoel Grandin1-2/+2
Change-Id: I585d4e8f0a53f46b6fbcef9e4d26f88b57569684
2015-08-25make eChildAlignment private in SfxChildWindowNoel Grandin1-1/+0
Change-Id: I68a4c3324736e111a2c88e3edb9df506c33042b7
2015-08-22tdf#93188 - avoid crash in media player.Michael Meeks1-1/+5
ToggleFloatingMode can be run during dispose, and should handle that, thanks to Maxim Monastirsky for the analysis. Change-Id: I72c5aff9b75fa2c1b6795e239370244dafdafae2
2015-08-19Clean up remaining utl::LocalFileHelper::Convert...Stephan Bergmann3-6/+6
together with 58d68a1bc9146334376206ae7ba8b1a6594a1040 "ConvertURLToSystemPath->getSystemPathFromFileURL" and 28f3464a571a23a2c16bd0980e9021b95d011511 "ConvertSystemPathToURL->getFileURLFromSystemPath," this replaces all those Convert... functionality with direct calls to the corresponding osl::FileBase functions. Change-Id: I2876171cd337a5eb939d25d8cf1e0c1253ff73a7
2015-08-18tdf#84323: Make osl::Condition::wait more readableStephan Bergmann2-5/+4
Change-Id: Icd66ae1d390100549f903d45b2896cdcdca449be
2015-08-11loplugin: defaultparamsNoel Grandin1-3/+3
Change-Id: Ifc9fc93b0630674fa1f4ef78c3a2231855dc1db3
2015-08-04-Werror,-Wunused-private-fieldStephan Bergmann1-1/+0
Change-Id: I3f6c5b11830fcc581e662d2c000669ee80accaf5
2015-08-01std::function::operator bool returns true if it contains a valid targetDavid Ostrovsky2-2/+2
Change-Id: I8e65c0243094468dca06a1b30b5244bef931f8ac
2015-08-01std::function doesn't have empty() methodDavid Ostrovsky2-2/+2
The correct way to perform the check for it in C++11 is to call std::function::operator bool. http://en.cppreference.com/w/cpp/utility/functional/function/operator_bool Change-Id: I4df8daaa758b4d5b382e340b90c4588a83ee11ce
2015-07-31avmedia: replace boost::function with std::functionMichael Stahl2-5/+6
Change-Id: I813d42a1ab494e0887791516606fddd342e21ff0