mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
ximagesrc: fix xnavigation linking issue
Fixes #3083 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5589>
This commit is contained in:
parent
2be13c82aa
commit
e3e8147a74
2 changed files with 3 additions and 1 deletions
|
@ -1220,6 +1220,7 @@ static gboolean
|
|||
gst_ximage_src_event (GstBaseSrc * base_src, GstEvent * event)
|
||||
{
|
||||
gboolean ret = FALSE;
|
||||
#ifdef HAVE_XNAVIGATION
|
||||
gboolean is_press = FALSE;
|
||||
GstXImageSrc *src = GST_XIMAGE_SRC (base_src);
|
||||
if (src->enable_navigation_events
|
||||
|
@ -1272,6 +1273,7 @@ gst_ximage_src_event (GstBaseSrc * base_src, GstEvent * event)
|
|||
break;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
if (!ret) {
|
||||
ret =
|
||||
GST_CALL_PARENT_WITH_DEFAULT (GST_BASE_SRC_CLASS, event, (base_src,
|
||||
|
|
|
@ -21,7 +21,7 @@ if x11_dep.found()
|
|||
|
||||
xtst_dep = dependency('xtst', required : get_option('ximagesrc-navigation'))
|
||||
if xtst_dep.found()
|
||||
x_args += ['-DHAVE_NAVIGATION']
|
||||
x_args += ['-DHAVE_XNAVIGATION']
|
||||
x_sources += files(['gst-ximage-navigation.c'])
|
||||
endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue