office-gobmx/avmedia
Stephan Bergmann 7a21cba913 Silence -Werror=deprecated-declarations for now
...as seen with gtk4-devel-4.10.0-3.fc38.x86_64,

> avmedia/source/gtk/gtkplayer.cxx: In member function ‘virtual com::sun::uno::Reference<com::sun::media::XPlayerWindow> avmedia::gtk::GtkPlayer::createPlayerWindow(const com::sun::uno::Sequence<com::sun::uno::Any>&)’:
> avmedia/source/gtk/gtkplayer.cxx:358:20: error: ‘void gtk_widget_show(GtkWidget*)’ is deprecated: Use 'gtk_widget_set_visible or gtk_window_present' instead [-Werror=deprecated-declarations]
>   358 |     gtk_widget_show(m_pVideo);
>       |     ~~~~~~~~~~~~~~~^~~~~~~~~~
> In file included from /usr/include/gtk-4.0/gtk/gtkapplication.h:27,
>                  from /usr/include/gtk-4.0/gtk/gtkwindow.h:33,
>                  from /usr/include/gtk-4.0/gtk/gtkaboutdialog.h:30,
>                  from /usr/include/gtk-4.0/gtk/gtk.h:34,
>                  from avmedia/source/gtk/gtkplayer.cxx:28:
> /usr/include/gtk-4.0/gtk/gtkwidget.h:273:12: note: declared here
>   273 | void       gtk_widget_show                (GtkWidget           *widget);
>       |            ^~~~~~~~~~~~~~~
> avmedia/source/gtk/gtkplayer.cxx:359:20: error: ‘void gtk_widget_show(GtkWidget*)’ is deprecated: Use 'gtk_widget_set_visible or gtk_window_present' instead [-Werror=deprecated-declarations]
>   359 |     gtk_widget_show(pParent);
>       |     ~~~~~~~~~~~~~~~^~~~~~~~~
> /usr/include/gtk-4.0/gtk/gtkwidget.h:273:12: note: declared here
>   273 | void       gtk_widget_show                (GtkWidget           *widget);
>       |            ^~~~~~~~~~~~~~~

Change-Id: I1cb2988cec6cda3dd3e43a3773647a3ddaf211e2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148899
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2023-03-15 08:23:24 +00:00
..
inc Related: tdf#100007 pause state not always updating "play" state to off 2022-02-14 13:50:35 +01:00
source Silence -Werror=deprecated-declarations for now 2023-03-15 08:23:24 +00:00
util Clean up previous commit 2015-03-11 18:38:29 +01:00
AllLangMoTarget_avmedia.mk Revert "iOS, removed unneeded avmedia libraries" 2017-10-10 12:34:47 +02:00
IwyuFilter_avmedia.yaml replace usage of blacklist with excludelist for IWYU 2020-07-10 02:03:40 +02:00
Library_avmedia.mk Disable epoxy test with --disable-gui 2022-01-05 18:00:59 +01:00
Library_avmediagst.mk tdf#149971 avmedia: implement video crop support in the gsteamer backend 2022-08-26 11:48:41 +02:00
Library_avmediagtk.mk first cut at using Gtk4 built in video playback 2022-02-18 20:40:01 +01:00
Library_avmediaMacAVF.mk Generally determine Rdb content from gb_*_set_componentfile calls 2021-12-10 08:14:24 +01:00
Library_avmediawin.mk Generally determine Rdb content from gb_*_set_componentfile calls 2021-12-10 08:14:24 +01:00
Makefile re-base on ALv2 code. Includes: 2012-09-25 15:15:39 +01:00
Module_avmedia.mk first cut at using Gtk4 built in video playback 2022-02-18 20:40:01 +01:00
README.md Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02: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.