mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 02:01:12 +00:00
rsvgoverlay: deprecated GStaticMutex -> GMutex
Element needs porting though. https://bugzilla.gnome.org/show_bug.cgi?id=693322
This commit is contained in:
parent
8f93c2448e
commit
b28870150b
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -45,7 +45,7 @@ struct _GstRsvgOverlay
|
|||
GstVideoFilter element;
|
||||
|
||||
/* < private > */
|
||||
GStaticMutex rsvg_lock;
|
||||
GMutex rsvg_lock;
|
||||
|
||||
RsvgHandle *handle;
|
||||
|
||||
|
|
Loading…
Reference in a new issue