mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +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));
|
||||
goto beach;
|
||||
}
|
||||
#ifdef HAVE_XSHM
|
||||
shmget_failed:
|
||||
{
|
||||
g_mutex_unlock (ximagesink->x_lock);
|
||||
|
@ -290,6 +291,7 @@ xattach_failed:
|
|||
width, height), ("Failed to XShmAttach"));
|
||||
goto beach;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -293,6 +293,7 @@ create_failed:
|
|||
("could not XvShmCreateImage a %dx%d image", width, height));
|
||||
goto beach;
|
||||
}
|
||||
#ifdef HAVE_XSHM
|
||||
shmget_failed:
|
||||
{
|
||||
g_mutex_unlock (xvimagesink->x_lock);
|
||||
|
@ -324,6 +325,7 @@ xattach_failed:
|
|||
width, height), ("Failed to XShmAttach"));
|
||||
goto beach;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in a new issue