https://bugs.documentfoundation.org/show_bug.cgi?id=161387
Bug ID: 161387
Summary: Can't create instance of com.sun.star.media.Manager
Product: LibreOffice
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: sdk
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
The com.sun.star.media.Manager service is documented here:
https://api.libreoffice.org/docs/idl/ref/servicecom_1_1sun_1_1star_1_1media_1_1Manager.html
It is implemented in four places:
https://opengrok.libreoffice.org/xref/core/avmedia/source/gstreamer/gstmanager.cxx?r=8b091048#63
https://opengrok.libreoffice.org/xref/core/avmedia/source/gtk/gtkmanager.cxx?r=61717b21#46
https://opengrok.libreoffice.org/xref/core/avmedia/source/qt6/QtManager.cxx?r=441d8ed9#50
https://opengrok.libreoffice.org/xref/core/avmedia/source/win/manager.cxx?r=bbcf2357#67
But it is impossible to create its instance using this Basic call:
CreateUnoService("com.sun.star.media.Manager")
On the other hand, it is possible to create it using e.g. (on Windows):
CreateUnoService("com.sun.star.media.Manager_DirectX")
because that undocumented service name is defined in
https://opengrok.libreoffice.org/xref/core/avmedia/source/win/avmediawin.component
It is possibly required to keep this undocumented name supported (because of
countless uses of this); but the correct name needs also be properly defined in
.component files, to enable its cross-platform construction.
--
You are receiving this mail because:
You are the assignee for the bug.