From b28870150b99b624ce0bb8b4085ef482d32a32a6 Mon Sep 17 00:00:00 2001 From: Marc Leeman Date: Thu, 7 Feb 2013 11:52:23 +0100 Subject: [PATCH] rsvgoverlay: deprecated GStaticMutex -> GMutex Element needs porting though. https://bugzilla.gnome.org/show_bug.cgi?id=693322 --- ext/rsvg/gstrsvgoverlay.c | 4 ++-- ext/rsvg/gstrsvgoverlay.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ext/rsvg/gstrsvgoverlay.c b/ext/rsvg/gstrsvgoverlay.c index a174771c80..0881725a1b 100644 --- a/ext/rsvg/gstrsvgoverlay.c +++ b/ext/rsvg/gstrsvgoverlay.c @@ -86,13 +86,13 @@ enum #define GST_RSVG_LOCK(overlay) G_STMT_START { \ GST_LOG_OBJECT (overlay, "Locking rsvgoverlay from thread %p", g_thread_self ()); \ - g_static_mutex_lock (&overlay->rsvg_lock); \ + g_mutex_lock (&overlay->rsvg_lock); \ GST_LOG_OBJECT (overlay, "Locked rsvgoverlay from thread %p", g_thread_self ()); \ } G_STMT_END #define GST_RSVG_UNLOCK(overlay) G_STMT_START { \ GST_LOG_OBJECT (overlay, "Unlocking rsvgoverlay from thread %p", g_thread_self ()); \ - g_static_mutex_unlock (&overlay->rsvg_lock); \ + g_mutex_unlock (&overlay->rsvg_lock); \ } G_STMT_END #if G_BYTE_ORDER == G_LITTLE_ENDIAN diff --git a/ext/rsvg/gstrsvgoverlay.h b/ext/rsvg/gstrsvgoverlay.h index d303a852a8..b853b5d538 100644 --- a/ext/rsvg/gstrsvgoverlay.h +++ b/ext/rsvg/gstrsvgoverlay.h @@ -45,7 +45,7 @@ struct _GstRsvgOverlay GstVideoFilter element; /* < private > */ - GStaticMutex rsvg_lock; + GMutex rsvg_lock; RsvgHandle *handle;