mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
vaapivideometa: remove compiler warning
This commit is contained in:
parent
4c9f49437d
commit
b1f859116d
1 changed files with 2 additions and 2 deletions
|
@ -432,8 +432,8 @@ gst_vaapi_video_meta_replace (GstVaapiVideoMeta ** old_meta_ptr,
|
|||
if (new_meta)
|
||||
gst_vaapi_video_meta_ref (new_meta);
|
||||
|
||||
while (!g_atomic_pointer_compare_and_exchange ((gpointer *) old_meta_ptr,
|
||||
old_meta, new_meta))
|
||||
while (!g_atomic_pointer_compare_and_exchange (old_meta_ptr, old_meta,
|
||||
new_meta))
|
||||
old_meta = g_atomic_pointer_get ((gpointer *) old_meta_ptr);
|
||||
|
||||
if (old_meta)
|
||||
|
|
Loading…
Reference in a new issue