Commit graph

125 commits

Author SHA1 Message Date
Stephan Bergmann
4e593d690d Elide some trivial avmedia::MediaWindowImpl private member functions
Change-Id: I272acbfc9ea158af1d6d6d117451a444c1585e19
2013-11-18 18:04:37 +01:00
Stephan Bergmann
a063da487e Simplify avmedia::MediaItem::setURL
Change-Id: I9835b96813c6bf3d8690cdaa5de66ca07afdc801
2013-11-18 17:57:39 +01:00
Stephan Bergmann
df4adcc47a Fix debug output
Change-Id: I785a3f223bd8897466f9402125df2da07615cd50
2013-11-18 17:02:17 +01:00
Stephan Bergmann
929baba5f0 Simplify MediaWindow::mpImpl
Change-Id: Ia466a08a8135a7f2e43278354c767be3a063550a
2013-11-18 17:02:17 +01:00
Stephan Bergmann
110bbaf044 Remove bogus comment
Change-Id: I236e5f3797750f78047957c3dd9984c687ffa0ab
2013-11-18 17:02:17 +01:00
Stephan Bergmann
6f405e15ec Fold MediaWindowBaseImpl into MediaWindowImpl
Change-Id: Ie6366d8b1facb39a5f44279f0c49a229b019bcaa
2013-11-18 17:02:17 +01:00
Tor Lillqvist
4446ee5ae0 Bin apparently unneeded #include
Change-Id: Ib459531736b0c1cccfcb3f51aa58257c2c80e991
2013-10-12 22:00:22 +03:00
Caolán McNamara
507c1c9905 Resolves: rhbz#1012379 draw audio-placeholder in presentation mode
Change-Id: Ied61f9b4947e1a6eda04c442d95037cc1c7ef460
2013-10-04 20:20:55 +01:00
Caolán McNamara
65f3f3a842 filters with incorrect trailing semicolons
Change-Id: Iff222839d56e8ee65b760253e8f79112ce83e9b7
2013-10-03 14:42:56 +01:00
Caolán McNamara
b459655cbb CID#738557 unused mbIsMediaWindowJavaBased member
Change-Id: Ia219266bf176a71ff3a5875df318f39c3b3555ec
2013-10-03 13:18:26 +01:00
Minh Ngo
ba0d1fc481 Avmedia/VLC: Adding more debug info
Change-Id: I484050575da7e09e89a10f3a4e8d5fbe95f88044
2013-09-23 21:56:05 +03:00
Minh Ngo
3d246af83b Avmedia/VLC: Fixing a bug with a keyframe attaching
Change-Id: Iee28b510a79600e20a7e711d78ca20a216ccc3aa
2013-09-20 20:15:24 +03:00
Minh Ngo
ccea730aef Avmedia: Change a background to the black color.
Change-Id: I1edccc2436ae000571551e8d23f432a152081f7f
2013-09-20 20:15:24 +03:00
Caolán McNamara
5efc15f000 reduce use of UniString from ResID ctor
Change-Id: I8d7619e7807ff2d400ec5c7fd181375130245728
2013-07-28 16:45:48 +01:00
Michael Meeks
e2376b3db0 Insert vlc at the top of the service list to try for media.
Change-Id: I2abde3c4431e104f30c22a3066bb6fb243151e2d
2013-07-26 10:50:21 +01:00
Joel Madero
bdf1731fbb fdo#64003 - added rmi and snd to insert -> movie & sound list
RMI and SND files were already supported but were missing from the list of
movie & sound menu. Added these in alpha order

	modified:   avmedia/source/viewer/mediawindow.cxx

Change-Id: I3241f1cdd8972fb3da85e8e2bdd26b25f61a53ec
Reviewed-on: https://gerrit.libreoffice.org/3727
Reviewed-by: Tor Lillqvist <tml@iki.fi>
Tested-by: Tor Lillqvist <tml@iki.fi>
2013-05-02 06:53:01 +00:00
Samuel Mehrbrodt
c31824afc6 fdo#56832 Explicitly mention Ogg Audio and Video
.ogx is also a valid extension, see http://wiki.xiph.org/MIME_Types_and_File_Extensions

Change-Id: Ieb5f3b7016b58beaf915673181369530a3d0709e
Reviewed-on: https://gerrit.libreoffice.org/3609
Reviewed-by: Tor Lillqvist <tml@iki.fi>
Tested-by: Tor Lillqvist <tml@iki.fi>
2013-04-26 07:25:47 +00:00
Luboš Luňák
1946794ae0 mass removal of rtl:: prefixes for O(U)String*
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk
have kept them, in order not to break external API (the automatic using declaration
is LO-internal).

Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-04-07 14:23:11 +02:00
Thomas Arnhold
6dddefc6e7 fdo#43460: use isEmpty()
Change-Id: Ia768e684d3cf255239c04d024b35488830cc9fe6
2013-03-09 21:47:31 +01:00
Borim
a0296296fb fdo#60691 add modelines to *.src and *.hrc files
use solenv/bin/add-modulelines script for the task
and remove all UTF bom from *.src and *.hrc files

svx/source/dialog/hdft.src

Change-Id: I745d4f0fe9b05436a142a03f8512970f91c41bd4
2013-03-08 21:02:26 +00:00
Michael Meeks
efb912f81c add a few more missing media extensions.
Change-Id: I3f4b05eeb32ad8c36b4601908522027d6becd0ac
2013-03-08 16:03:52 +00:00
Ádám Csaba Király
10bb5b8e24 fdo#38838, replacement of String with OUString
Replaced String with OUString in mediawindow.cxx, basdoc.cxx,
basdoc.hxx and bastype3.cxx. In other files I only replaced,
what was necessary for the changes in basdoc to work.

Change-Id: I1ad0e7e262f8becdf57f182853aaa914a88895a4
Reviewed-on: https://gerrit.libreoffice.org/2554
Reviewed-by: Muthu Subramanian K <muthusuba@gmail.com>
Tested-by: Muthu Subramanian K <muthusuba@gmail.com>
2013-03-05 12:48:36 +00:00
Joel Madero
5fb8aa7774 fdo#36635 Added WMV/WMA/AAC to list of Movie and Sound File Types
WMV, WMA and AAC are all supported but were not listed in movie and sound
file types (Insert -> Movie and Sound...) so they would not appear in
file browser unless you chose "Show All Files". Added these to list

	modified:   avmedia/source/viewer/mediawindow.cxx

Change-Id: I459b41a1ca647d7a90cec75436438097df5df962
Reviewed-on: https://gerrit.libreoffice.org/2287
Reviewed-by: Andras Timar <atimar@suse.com>
Tested-by: Andras Timar <atimar@suse.com>
2013-02-20 08:53:33 +00:00
Noel Grandin
09cf6fe83a fd0#46808, convert some getProcessServiceFactory
... to getProcessComponentContext

Change-Id: I8d5c2be0186db963ba8aac31e1b527145b8bca2b
2013-01-28 08:22:59 +02:00
Michael Meeks
d20469c1b0 re-base on ALv2 code. Includes:
Ocke Janssen impress210: #i115617# set zoom to fit_to_window
    Ocke Janssen impress210: #i78386# looping sound for windows
    cleanup createPlayer fallback code & java parameter.

Change-Id: I56f06d08c66a1f754292a0c5b1abc32824e391c5
2012-09-25 15:15:39 +01:00
Ricardo Montania
588f01bf62 End of ::rtl::OUString to OUString in avmedia
Change-Id: I1ac8f773ddb72b94d1371fe60948fb2782ddecd4
Reviewed-on: https://gerrit.libreoffice.org/675
Reviewed-by: Olivier Hallot <olivier.hallot@alta.org.br>
Tested-by: Olivier Hallot <olivier.hallot@alta.org.br>
2012-09-23 12:50:29 +00:00
Ricardo Montania
6c98b12cd6 ::rtl::OUString to OUString in avmedia
Change-Id: Id62d30e33ad68ffa6d3199a181b002155f224732
Reviewed-on: https://gerrit.libreoffice.org/668
Reviewed-by: Noel Power <noel.power@suse.com>
Tested-by: Noel Power <noel.power@suse.com>
2012-09-21 15:58:01 +00:00
Norbert Thiebaud
b854de954f deprecate oustringostreaminserter.hxx
the intent of this header has canged over time. now it is already
systematically included with ustring.hxx and the operator overload it
provide fit nicely there...

Just to be safe, since that include as been added to the api during the
3.5 timeframe and therefore is already in 'production'
the header remain and simply attempt to include ustring.hxx
but a warning is issued indicating that this header should not be used
anymore... in a couple of major release we will thenr emove it completely

All internal users of that header are converted.

Change-Id: I8934c55f089e29d78c0f5649b7c87b2ecf024bad
Reviewed-on: https://gerrit.libreoffice.org/634
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-09-18 10:10:06 +00:00
Stephan Bergmann
2bc36e1497 warning C4101: unreferenced local variable
Change-Id: Iaf3cc45545d4c2eedff12466c90eec1d442ae338
2012-08-10 12:36:28 +02:00
Michael Meeks
21d7f4b4bb gstreamer: make gstreamer 1.0 and 0.10 dual compile
Add fallback activation of an _OLD media component to the core.
Compile both a 0.10 and 1.0 version of the gstreamer component

Change-Id: I91f65d05391cb2d7e02f9cff18f96178a128705O1
2012-08-09 20:46:16 +01:00
Takeshi Abe
79d386f001 removed unnecessary forward declarations of class
except moving 'class SfxStringItem' to cui/source/inc/acccfg.hxx

Change-Id: I11d3803ebcfa02658d376bacf28b3d6030ee9d1b
2012-07-07 10:09:22 +09:00
Thomas Arnhold
8ca21893e5 Remove unused defines
Change-Id: I45e1618dcff920b63b7e21ba9e842eed684114d7
2012-07-01 18:33:41 +02:00
Michael Meeks
ec5fa0164b replace all but one .hdl include with equivalent .hpp includes.
Change-Id: I15e94f112144549692d0c2babeb48c77adcb93a9
2012-06-21 19:28:47 +01:00
Norbert Thiebaud
bfa906144f targeted string re-work
Change-Id: Ia73452f1cc83eff144e692c5ec19048c4ce0ca60
2012-06-02 18:45:53 -05:00
Norbert Thiebaud
166ab67460 targeted string re-work
Change-Id: Iece38bedf1f2380f8ecf3c6aef1e92688ed026db
2012-06-02 16:48:35 -05:00
Caolán McNamara
bcc3e0e7e8 callcatcher: drop unused hasPreferredSize 2012-04-25 11:58:27 +01:00
Takeshi Abe
16244e7f24 removed duplicate includes in avmedia / basic / canvas / chart2 / comphelper 2012-03-28 00:30:29 +09:00
Michael Stahl
d7aacb8461 .hrc files don't need executable bits 2012-03-23 21:58:14 +01:00
elbarto
717468346c Removed unused code from avmedia. 2012-02-18 09:55:46 +00:00
Marcel Metz
571ad11bc0 Removed unnecessary tools includes. 2012-01-05 15:36:41 +01:00
Luboš Luňák
643de3b64e "*.*" is not "all files" (bnc#738021)
Not on any Unix, at least. I have no idea how deep entrenched is this
mistake all over the code, so I'll play safe and just fix the KDE4 fpicker
(GNOME/KDE3 seem to handle it fine), but at least in the UI show just
"All files" instead of "All files (*.*)").
2011-12-22 19:32:53 +01:00
Olivier Hallot
f43311dfb7 Fix for fdo43460, Part I, getLength to isEmpty
Part I
Modules
unoControl, accessibility and avmedia
2011-12-09 23:37:05 +01:00
Michael Stahl
431604f9fa refactor media embedding completely:
Do the tempfile handling in SdrMediaObj, not in the window;
this has the advantage that it works even in the presence of clipboard
documents without SfxBaseModels and thus without storage (sc, sw).

The SdrMediaObj instances share ownership of a temp file.
2011-12-06 04:36:22 +01:00
Michael Stahl
59307a7164 actually play embedded media:
In order to do this, the media is written to a temp file by
avmedia::MediaWindowBaseImpl.  This requires some rather ugly hacks to
transport the Storage that contains the media to the avmedia stuff,
including adding a XModel reference to avmedia::MediaItem.
2011-12-03 00:48:16 +01:00
Michael Stahl
18ab7abaa9 MediaWindow::executeMediaURLDialog: add link button 2011-12-03 00:48:14 +01:00
Stephan Bergmann
0c7bff0271 Changed sal/log.h -> sal/log.hxx, drop _S from C++ streaming log macros.
A compile time check ensures the common case of streaming just a plain
C-style string literal still produces reasonably compact call-site code.
The format-string variants are still available in sal/detail/log.h, but
only to be used in obsolete osl/diagnose.h etc., and going to be removed
again eventually.
2011-11-23 15:50:58 +01:00
Stephan Bergmann
d6a8934eeb Remove no longer necessary "(void) x; // avoid warnings". 2011-11-22 17:03:12 +01:00
Stephan Bergmann
70a6b9ffbd New sal/log.h obsoletes osl/diagnose.h and tools/debug.hxx.
* New SAL_INFO..., SAL_WARN... macros.
* New SAL_STREAM supersedes OSL_FORMAT.
* oustringostreaminserter.hxx moved from unotest to rtl (and always UTF-8 now).
* TODO to enable GCC __attribute__((format)) in sal/log.h (requires call-site
  cleanup).
* Further functionality in tools/debug.hxx (DBG_MEMTEST, DBG_CTOR, etc.) not yet
  addressed.
* Some replacements tools String -> rtl::OUString.
2011-11-22 09:41:47 +01:00
Michael Meeks
9b4d493fb4 fix mangled gstreamer service name, fixing embedded video 2011-10-26 17:41:56 +01:00
Thomas Arnhold
1afef0e98a Remove RCS header 2011-09-20 09:25:41 +02:00