mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-23 17:14:23 +00:00
compile fix when atomic refcounting is not available
Original commit message from CVS: compile fix when atomic refcounting is not available
This commit is contained in:
parent
695c1a2960
commit
2a4b6618a7
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ gst_buffer_pool_ref (GstBufferPool *pool)
|
||||||
#else
|
#else
|
||||||
g_return_if_fail (pool->refcount > 0);
|
g_return_if_fail (pool->refcount > 0);
|
||||||
GST_BUFFER_POOL_LOCK (pool);
|
GST_BUFFER_POOL_LOCK (pool);
|
||||||
buffer->refcount++;
|
pool->refcount++;
|
||||||
GST_BUFFER_POOL_UNLOCK (pool);
|
GST_BUFFER_POOL_UNLOCK (pool);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue