Set GLib log domain to GES

This commit is contained in:
Thibault Saunier 2018-07-01 16:22:24 -04:00
parent 6e5e263306
commit d6018ebaf5
2 changed files with 3 additions and 2 deletions

View file

@ -154,7 +154,8 @@ noinst_HEADERS = \
libges_@GST_API_VERSION@_la_CFLAGS = -I$(top_srcdir) $(GST_PBUTILS_CFLAGS) \
$(GST_VIDEO_CFLAGS) $(GST_CONTROLLER_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) \
$(GST_CFLAGS) $(XML_CFLAGS) $(GIO_CFLAGS) $(GST_VALIDATE_CFLAGS)
$(GST_CFLAGS) $(XML_CFLAGS) $(GIO_CFLAGS) $(GST_VALIDATE_CFLAGS) \
-DG_LOG_DOMAIN=\"GES\"
libges_@GST_API_VERSION@_la_LIBADD = $(GST_PBUTILS_LIBS) \
$(GST_VIDEO_LIBS) $(GST_CONTROLLER_LIBS) $(GST_PLUGINS_BASE_LIBS) \
$(GST_BASE_LIBS) $(GST_LIBS) $(XML_LIBS) $(GIO_LIBS) $(GST_VALIDATE_LIBS)

View file

@ -114,7 +114,7 @@ gir_init_section = [ '--add-init-section=' + \
'gst_init(NULL,NULL);' + \
'ges_init();' ]
ges_c_args = ['-DHAVE_CONFIG_H']
ges_c_args = ['-DHAVE_CONFIG_H', '-DG_LOG_DOMAIN="GES"']
plugins_install_dir = '@0@/gstreamer-1.0'.format(get_option('libdir'))
if gst_dep.type_name() == 'internal'