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:
Julien Moutte 2004-07-27 09:35:52 +00:00
parent e9d09eb755
commit a62f5d27cf
3 changed files with 8 additions and 0 deletions

View file

@ -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:

View file

@ -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;
}

View file

@ -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;
}