diff options
Diffstat (limited to 'sys/d3dvideosink/directx/dx.c')
-rw-r--r-- | sys/d3dvideosink/directx/dx.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/d3dvideosink/directx/dx.c b/sys/d3dvideosink/directx/dx.c index b52e51f56..4c683b35a 100644 --- a/sys/d3dvideosink/directx/dx.c +++ b/sys/d3dvideosink/directx/dx.c @@ -46,8 +46,8 @@ init_supported_apis (void) static DirectXAPI *directx_determine_best_available_api (void); /* Mutex macros */ -#define DIRECTX_LOCK g_static_rec_mutex_lock (&dx_lock); -#define DIRECTX_UNLOCK g_static_rec_mutex_unlock (&dx_lock); +#define DIRECTX_LOCK g_rec_mutex_lock (&dx_lock); +#define DIRECTX_UNLOCK g_rec_mutex_unlock (&dx_lock); typedef struct _DirectXInfo DirectXInfo; struct _DirectXInfo @@ -63,7 +63,7 @@ struct _DirectXInfo /* Private vars */ static DirectXInfo dx; -static GStaticRecMutex dx_lock = G_STATIC_REC_MUTEX_INIT; +static GRecMutex dx_lock; gboolean directx_initialize (DirectXInitParams * init_params) |