summaryrefslogtreecommitdiff
path: root/avmedia/source/viewer
AgeCommit message (Collapse)Author
2015-01-14GetData is a hopelessly generic nameCaolán McNamara
when you want to find the uses of it Change-Id: I580c194f0fd200505d3df99089afc0872921a67b
2015-01-09boost::scoped_ptr->std::unique_ptrCaolán McNamara
Change-Id: I844532d08123ed0c91ccec73cc806277fd821089
2014-11-14catch by referenceCaolán McNamara
Change-Id: Ib1f04971dc89df6df09bd12595d3ddb148715e28
2014-11-14fdo#86023 - O[U]String needs a 'clear' methodBrij Mohan Lal Srivastava
Added clear() method to OString and OUString class, Updated appropriate call-sites. Change-Id: I0ba97fa6dc7af3e31b605953089a4e8e9c3e61ac Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-11-07fdo#84938: replace MOUSE_ modifier constants with enumNoel Grandin
and make the two categories of constants non-overlapping, we really don't need to risk confusion in order to save 6 bits in a data structure like this. Change-Id: I2251195d8e45ed04e2a89e47ae9c3e52cf0475c0
2014-11-05fdo#38835 strip out OUString globalsNoel Grandin
they are largely unnecessary these days, since our OUString infrastructure gained optimised handling for static char constants. Change-Id: I07f73484f82d0582252cb4324d4107c998432c37
2014-10-12Wording: 'Audio/Video' -> 'Audio or Video'Samuel Mehrbrodt
Change-Id: I9572d4c7fb5f50b869e69436302ac8c20e500392
2014-10-11convert vcl StateChangedType to enum classNoel Grandin
Change-Id: Ifa46523619ae7fb8d112525b8df594836e51bb8f Reviewed-on: https://gerrit.libreoffice.org/11843 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2014-09-27Term change: Sound/Movie -> Audio/VideoSamuel Mehrbrodt
Change-Id: I389a3db5ca23718035413cbd0252f62eb8c870c3
2014-09-23fdo#82577: Handle WindowNoel Grandin
Put the VCL Window class in the vcl namespace. Avoids clash with the X11 Window typedef. Change-Id: Ib1beb7ab4ad75562a42aeb252732a073d25eff1a
2014-09-15avmedia: sal_False/True -> false/trueStephan Bergmann
Change-Id: I0ecd9e016ab0faa75a58796568d19fe91f6dccee
2014-09-11fdo#82994 Added some more audio formatsDaniel Sikeler
Change-Id: I0acd880dc1886f46e1fe146941f1027c9b6ab265 Reviewed-on: https://gerrit.libreoffice.org/11388 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-09-09fdo#82994: Changed filterlabel of .ac3-filesDaniel Sikeler
Change-Id: I7820656211e341e4d1e51821240a9319570fcffd Reviewed-on: https://gerrit.libreoffice.org/11351 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-09-02fix buildMarkus Mohrhard
Change-Id: I13c67763ec3cb940292199f3e9e0f3942446959f
2014-08-28fdo#82994: added missing media extensionsDaniel Sikeler
Change-Id: Ibbce02b43192fd3afb4984f5f38251a518d7be06 Reviewed-on: https://gerrit.libreoffice.org/11172 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2014-08-23fdo#82577: Handle KeyCodeTor Lillqvist
Put the VCL KeyCode class in the vcl namespace. Avoids clash with the X11 KeyCode typedef. Change-Id: I624c9d937f7c5f5986d313b6c5f060bd8bb7e028
2014-08-18STRING -> StringThomas Arnhold
Change-Id: I084d99fdd1a34842178b59c17ab108750f7bd11d
2014-08-15ErrorBox AVMEDIA_ERR_URL to StringThomas Arnhold
Change-Id: Id897c62fbfe9728bef2264769871aade8c82dbdb
2014-07-20Avoid a warning, return early on empty URL.Zolnai Tamás
Change-Id: Ie4eb55fa52ee97eb98a5269658ce5183a287618b
2014-06-12Introduce HAVE_FEATURE_GLTF to enable/disable gltf related codeZolnai Tamás
When it is a release build then enable it only on Windows and Linux. Change-Id: I7c462aeb75e6ab60eeaa0fa42ca7853a6369b742
2014-05-25avmedia: call resize before player window is createdZolnai Tamás
Since b5529c8c457f442bfc43305becc0c02d6a09ee80 MediaChildWindow is depend on the media URL so it is constructed later and so one resizing is missed before creating the player window which causes to display nothing in the media player (Tools -> Media Player) Change-Id: I548e6bb73193fccd1735e8343e9c06428ee686bc
2014-05-25Partly revert 4ec3554a80f065c2d9c957d6ce7f577fb195be02Zolnai Tamás
mpEvents is freed by other object so using scoped_ptr lead to crash. Change-Id: I28c9d322b5ee5da6edf5022da18b42f59b608dec
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-23avmedia: avoid segmentation fault during destruction of media windowZolnai Tamás
mpEvents is not initialized in the destructor any more: b5529c8c457f442bfc43305becc0c02d6a09ee80 Plus use scoped_ptr to stop memory leak. Change-Id: Idaaa274e39c1ac34270ae5b0acdd237ee5aec1c3
2014-05-19hrc and src files: squeeze multiple newlinesThomas Arnhold
for i in `find . -name *.src -or -name *.hrc`; do FILE=$(cat -s "$i"); echo "$FILE" > "$i"; done Change-Id: I2bac5ad3e1eb3c566e5c867ccf45893a19e1561e
2014-05-15Try the AVMEDIA_MANAGER_SERVICE_NAME_FALLBACK1Tor Lillqvist
Change-Id: Iacd00f1371ea276758702bd5eb8380f542790c55
2014-05-15Resolves fdo#70681: fixincludeguards.pl: all that's leftThomas Arnhold
Change-Id: I3e51a62710bb46c8255fd228d41d9300c90a1fb5 Reviewed-on: https://gerrit.libreoffice.org/9360 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-05-13glTF rendering: first try to move camera positionZolnai Tamás
SystemChildWindow can't handle events by its own that's why it's parent is used as an event handler. Mouse pointer specify the active model. This patch made for editing, in case of slideshow we have one less window. Change-Id: If8ac57176b9a0abab518f8d8a06a2a41177a4881
2014-05-08avmedia: fix media embedding problem in edit modeZolnai Tamás
Some of the media player interfaces don't use the given SystemChildWindow, but they work with the parent window handle. e.g. directx (avmedia/source/win) and quicktime (avmedia/source/quicktime) Without the parent window handle they create a separate child window outside impress window. It affects only editing and not the slideshow. Change-Id: I80252ce35fcd29ab2cce081299529b85129017ee
2014-05-06Use WB_CLIPCHILDREN consistently.Jan Holesovsky
Change-Id: Ifd53e37d23c29efb2f084a39b48c88ea4bc0d70a
2014-05-05simplify ternary conditions "xxx ? yyy : false"Noel Grandin
Look for code like: xxx ? yyy : false; Which can be simplified to: xxx && yyy Change-Id: Ia33c0e452aa28af3f0658a5382895aaad0246b4d
2014-04-29coverity#1210180 Uninitialized pointer fieldCaolán McNamara
Change-Id: Ice39630a7991bf037842557e76bfb95600c57ea3
2014-04-28avmedia: make OpenGL window render model when play button is pushed.Zolnai Tamás
Redraw player window (call update) when Paint() is called on its parent. Use a temp variable to save playing state. Change-Id: I3d9b716c7f77587d98e4c06dca6d43a7dc8e32dd
2014-04-27First try to render OpenGL content in a windowZolnai Tamás
Change-Id: Ibb7178330d356806cea2cfc972b361167d5a9340
2014-04-27avmedia: create a special SystemChildWindow for 3D modelsZolnai Tamás
Change-Id: Id5f5ba2cf72ea78506ba226b269fae59b1163858
2014-04-20Make OGLFrameGrabber workZolnai Tamás
Steps of grabFrame - Init opengl context - Call libgltf to render - Get a RGB buffer from libgltf - Create a Bitmap from this RGB buffer Additionally: - Using mimetype is neccessary to decide which player to create. - bAllowToCreateReplacementGraphic is unneeded. Change-Id: I7fef043a3341771389144a4f4cac71b0862ef8a7
2014-04-04Introduce a new media shape property to handle mime typeZolnai Tamás
Default mime-type for all media objects: "application/vnd.sun.star.media" The problem of missing mime-type detection still exists. For now only glTF model has a concrete type. Change-Id: I4dca26c1c47a564579bbed926bffa3aa5eda6c04
2014-04-01Explicitly mark overriding destructors as "virtual"Stephan Bergmann
It appears that the C++ standard allows overriding destructors to be marked "override," but at least some MSVC versions complain about it, so at least make sure such destructors are explicitly marked "virtual." Change-Id: I0e1cafa7584fd16ebdce61f569eae2373a71b0a1
2014-03-27Second batch of adding SAL_OVERRIDE to overriding function declarationsStephan Bergmann
...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: Ie656f9d653fc716f72ac175925272696d509038f
2014-02-26cppuhelper: retrofit std::exception into overriding exception specsStephan Bergmann
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-25Remove visual noise from avmediaAlexander Wilms
Change-Id: I2f2cccc75f902359fbe557333c0062b13d1e9e96 Reviewed-on: https://gerrit.libreoffice.org/8231 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-23Remove unneccessary commentsAlexander Wilms
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb Reviewed-on: https://gerrit.libreoffice.org/8182 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-07auto_ptr -> scoped_ptrStephan Bergmann
Change-Id: Ia84ebb07de6c2b5c62340b530c908fc919b34b0a
2014-02-04Related: #i123862# use O*String's isEmpty() method...Herbert Dürr
to check for emptiness in modules starting with 'a' Patch-by: j.nitschke@ok.de Review-by: hdu@apache.org (cherry picked from commit 40b2ffbb1036c2f2db50965525009213d8fd6343) Conflicts: accessibility/source/extended/accessibleiconchoicectrl.cxx accessibility/source/extended/textwindowaccessibility.cxx accessibility/source/standard/vclxaccessiblebox.cxx accessibility/source/standard/vclxaccessibletoolboxitem.cxx automation/source/server/recorder.cxx automation/source/server/statemnt.cxx avmedia/source/framework/mediacontrol.cxx avmedia/source/framework/soundhandler.cxx avmedia/source/gstreamer/gstplayer.cxx avmedia/source/viewer/mediawindow.cxx Change-Id: I8e6d6754282634f6931a2e7f73f08f70c23d452e
2013-12-07fdo#72398 add m4v to allowed movie extsDavid Tardon
Change-Id: I3a0f4cdfc8b229efb65d3aae94de9e1cabd002ec
2013-11-20Transport Referer from MediaWindowImpl::setURL to ...::updateMediaItemStephan Bergmann
Change-Id: I9cc6ae4fc5fc67837fcfc5fdea92baadd032996e
2013-11-20avmedia: Implement "block untrusted referer links" featureStephan Bergmann
See f0a9ca24fd4bf79cac908bf0d6fdb8905dc504db "rhbz#887420 Implement 'block untrusted referer links' feature" for details. This adds some further /*TODO?*/ comments, and one known problem (marked /*TODO!*/) is that movies/sounds are not blocked during a slideshow presentation. Change-Id: Ib2d0c7e4f7b02c4bdec0d8a90cee5e7e1bee8325
2013-11-18Elide some trivial avmedia::MediaWindowImpl private member functionsStephan Bergmann
Change-Id: I272acbfc9ea158af1d6d6d117451a444c1585e19
2013-11-18Simplify avmedia::MediaItem::setURLStephan Bergmann
Change-Id: I9835b96813c6bf3d8690cdaa5de66ca07afdc801
2013-11-18Fix debug outputStephan Bergmann
Change-Id: I785a3f223bd8897466f9402125df2da07615cd50