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;