a6201725d7
While the VCL plugins are dynamically loaded and therefore just load their depending toolkit libraries, the GStreamer avmedia backend now links against Qt and GTK+. The GStreamer API itself is toolkit agnostic and the toolkit setup just uses a single GStreamer symbol to create the specific video sink. So the toolkit binding can simply be moved into the VCL plugin. At the point of the GStreamer toolkit setup call the GStreamer library is loaded by avmediagst, so the dlsym lookup should never fail. I also dropped the special GtkWidget handling. Using g_object_get will increase the refcount of the widget. A g_object_unref after adding it to the container seems to destroy it correctly. Change-Id: I693947e441bceb4b09bc38920e308e39142d0a35 Reviewed-on: https://gerrit.libreoffice.org/73849 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
46 lines
1.2 KiB
Makefile
46 lines
1.2 KiB
Makefile
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
|
#
|
|
# This file is part of the LibreOffice project.
|
|
#
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
#
|
|
|
|
$(eval $(call gb_Library_Library,avmediagst))
|
|
|
|
$(eval $(call gb_Library_set_componentfile,avmediagst,avmedia/source/gstreamer/avmediagstreamer))
|
|
|
|
$(eval $(call gb_Library_set_include,avmediagst,\
|
|
$$(INCLUDE) \
|
|
-I$(SRCDIR)/avmedia/source/inc \
|
|
$(GSTREAMER_1_0_CFLAGS) \
|
|
))
|
|
|
|
$(eval $(call gb_Library_add_libs,avmediagst,\
|
|
$(GSTREAMER_1_0_LIBS) \
|
|
))
|
|
|
|
$(eval $(call gb_Library_use_external,avmediagst,boost_headers))
|
|
|
|
$(eval $(call gb_Library_use_sdk_api,avmediagst))
|
|
|
|
$(eval $(call gb_Library_use_libraries,avmediagst,\
|
|
comphelper \
|
|
cppu \
|
|
cppuhelper \
|
|
sal \
|
|
salhelper \
|
|
tl \
|
|
vcl \
|
|
))
|
|
|
|
$(eval $(call gb_Library_add_exception_objects,avmediagst,\
|
|
avmedia/source/gstreamer/gstmanager \
|
|
avmedia/source/gstreamer/gstplayer \
|
|
avmedia/source/gstreamer/gstuno \
|
|
avmedia/source/gstreamer/gstwindow \
|
|
avmedia/source/gstreamer/gstframegrabber \
|
|
))
|
|
|
|
# vim: set noet sw=4 ts=4:
|