mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 16:21:17 +00:00
x11: fix build without XSHM
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=673327
This commit is contained in:
parent
086bee8c14
commit
798ce6c0e1
2 changed files with 4 additions and 0 deletions
|
@ -259,6 +259,7 @@ create_failed:
|
||||||
("could not XShmCreateImage a %dx%d image", width, height));
|
("could not XShmCreateImage a %dx%d image", width, height));
|
||||||
goto beach;
|
goto beach;
|
||||||
}
|
}
|
||||||
|
#ifdef HAVE_XSHM
|
||||||
shmget_failed:
|
shmget_failed:
|
||||||
{
|
{
|
||||||
g_mutex_unlock (ximagesink->x_lock);
|
g_mutex_unlock (ximagesink->x_lock);
|
||||||
|
@ -290,6 +291,7 @@ xattach_failed:
|
||||||
width, height), ("Failed to XShmAttach"));
|
width, height), ("Failed to XShmAttach"));
|
||||||
goto beach;
|
goto beach;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
|
@ -293,6 +293,7 @@ create_failed:
|
||||||
("could not XvShmCreateImage a %dx%d image", width, height));
|
("could not XvShmCreateImage a %dx%d image", width, height));
|
||||||
goto beach;
|
goto beach;
|
||||||
}
|
}
|
||||||
|
#ifdef HAVE_XSHM
|
||||||
shmget_failed:
|
shmget_failed:
|
||||||
{
|
{
|
||||||
g_mutex_unlock (xvimagesink->x_lock);
|
g_mutex_unlock (xvimagesink->x_lock);
|
||||||
|
@ -324,6 +325,7 @@ xattach_failed:
|
||||||
width, height), ("Failed to XShmAttach"));
|
width, height), ("Failed to XShmAttach"));
|
||||||
goto beach;
|
goto beach;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in a new issue