rsvgoverlay: deprecated GStaticMutex -> GMutex

Element needs porting though.

https://bugzilla.gnome.org/show_bug.cgi?id=693322
This commit is contained in:
Marc Leeman 2013-02-07 11:52:23 +01:00 committed by Tim-Philipp Müller
parent 8f93c2448e
commit b28870150b
2 changed files with 3 additions and 3 deletions

View file

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

View file

@ -45,7 +45,7 @@ struct _GstRsvgOverlay
GstVideoFilter element;
/* < private > */
GStaticMutex rsvg_lock;
GMutex rsvg_lock;
RsvgHandle *handle;