Files
odfstudio/avmedia
Michael Weghorn 055ace1eda vcl: Get Platform from SalInstance, not SystemEnvData
Similar to how previous commit

    Change-Id: I052f122e991bec745af88d3f43847e4d77fb4ba4
    Author: Michael Weghorn <m.weghorn@posteo.de>
    Date:   Thu Mar 12 11:40:22 2026 +0100

        vcl: Get Toolkit from SalInstance, not SystemEnvData

had done for the Toolkit, also retrieve the Platform
from the SalInstance instead of storing it in the
frame/object-specific SystemEnvData.

Also stop letting the availability be dependent on

    #elif defined( UNX )

and rename Platform::Invalid to Platform::Other.
Initially, the latter is used everywhere where
nothing was explicitly set so far (and for the
non-UNX platforms that didn't have SystemEnvData::platform
at all so far).
This can be further adjusted in the future.

Not making it UNX-specific also removes one challenge
on the way to make the qt6 VCL plugin available on Windows
(see WIP change at [1]) because the existing logic
can now be used on all platforms.

[1] https://gerrit.libreoffice.org/c/core/+/199615

Change-Id: I383ad8ab287680f1d50dfc65d7d4d83eab3af5c8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/201537
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2026-03-13 07:41:48 +01:00
..
…
…
…

Audio / video Media Implementation.

Provides per-platform implementations of multimedia functionality. Currently no stream API is provided, only a URI based one, so streaming has to be wrapped around it via temp files.

Also provides (in source/framework/mediacontrol.cxx) an implementation of the graphical media playback control that appears in the toolbar / mediaobject bar when media is selected under the .uno:AVMediaToolBox item.

avmedia / gstreamer

The avmedia component is implementation of manager service defined in offapi/com/sun/star/media/. Radek has added implementation based on gstreamer so that we can add audio and video files into impress presentation on Linux with gstreamer.

The implementation is pretty straightforward, sometimes it has problems when gstreamer installation is incomplete.

In the beginning the media files were not embedded, Thorsten added support for that later.

Future Works

it might be worthwhile to revamp the avmedia UI.