mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-24 16:18:16 +00:00
sys/: When the atom is not available we have to unlock the mutex. Fixes #148023
Original commit message from CVS: 2004-07-27 Julien MOUTTE <julien@moutte.net> * sys/ximage/ximagesink.c: (gst_ximagesink_xwindow_decorate): * sys/xvimage/xvimagesink.c: (gst_xvimagesink_xwindow_decorate): When the atom is not available we have to unlock the mutex. Fixes #148023
This commit is contained in:
parent
e9d09eb755
commit
a62f5d27cf
3 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
2004-07-27 Julien MOUTTE <julien@moutte.net>
|
||||
|
||||
* sys/ximage/ximagesink.c: (gst_ximagesink_xwindow_decorate):
|
||||
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_xwindow_decorate): When
|
||||
the atom is not available we have to unlock the mutex. Fixes #148023
|
||||
|
||||
2004-07-26 Steve Lhomme <steve.lhomme@free.fr>
|
||||
|
||||
* gst-libs/gst/media-info/media-info.h:
|
||||
|
|
|
@ -320,6 +320,7 @@ gst_ximagesink_xwindow_decorate (GstXImageSink * ximagesink,
|
|||
|
||||
hints_atom = XInternAtom (ximagesink->xcontext->disp, "_MOTIF_WM_HINTS", 1);
|
||||
if (hints_atom == None) {
|
||||
g_mutex_unlock (ximagesink->x_lock);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
|
|
@ -339,6 +339,7 @@ gst_xvimagesink_xwindow_decorate (GstXvImageSink * xvimagesink,
|
|||
|
||||
hints_atom = XInternAtom (xvimagesink->xcontext->disp, "_MOTIF_WM_HINTS", 1);
|
||||
if (hints_atom == None) {
|
||||
g_mutex_unlock (xvimagesink->x_lock);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue