diff options
author | Vincent Penquerc'h | 2012-10-08 11:03:16 -0500 |
---|---|---|
committer | Nikhil Devshatwar | 2013-05-15 08:18:28 -0500 |
commit | 1d5f4aec5e7956a9f8d28466b622f75d60f6dfb6 (patch) | |
tree | e85fee49c144ec39f06994af50b4c14fa4a15d86 /sys | |
parent | 97a2321f6ca06d31152e29eebefb8a3a46d386e0 (diff) | |
download | gst-plugins-bad0-10-1d5f4aec5e7956a9f8d28466b622f75d60f6dfb6.tar.gz gst-plugins-bad0-10-1d5f4aec5e7956a9f8d28466b622f75d60f6dfb6.tar.xz gst-plugins-bad0-10-1d5f4aec5e7956a9f8d28466b622f75d60f6dfb6.zip |
dri2videosink: fix locking bug
Do not unlock a mutex we did not lock. Call sites do take and
release the lock in the first place.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dri2/gstdri2videosink.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dri2/gstdri2videosink.c b/sys/dri2/gstdri2videosink.c index 5da287808..92660f4ca 100644 --- a/sys/dri2/gstdri2videosink.c +++ b/sys/dri2/gstdri2videosink.c | |||
@@ -81,8 +81,6 @@ gst_dri2videosink_xwindow_update_geometry (GstDRI2VideoSink * self) | |||
81 | self->render_rect.w = self->xwindow->width; | 81 | self->render_rect.w = self->xwindow->width; |
82 | self->render_rect.h = self->xwindow->height; | 82 | self->render_rect.h = self->xwindow->height; |
83 | } | 83 | } |
84 | |||
85 | g_mutex_unlock (self->dcontext->x_lock); | ||
86 | } | 84 | } |
87 | 85 | ||
88 | /* This function handles XEvents that might be in the queue. It generates | 86 | /* This function handles XEvents that might be in the queue. It generates |