summaryrefslogtreecommitdiff
path: root/sys/ipcpipeline
diff options
context:
space:
mode:
authorGeorge Kiagiadakis <george.kiagiadakis@collabora.com>2017-08-02 10:46:46 +0300
committerGeorge Kiagiadakis <george.kiagiadakis@collabora.com>2017-08-02 10:46:46 +0300
commit58e2b2ef1c057839b3fdc6b87a5b0a6708771ab6 (patch)
treeb2d94d6a5feb50440a1376c733fd79528d73640f /sys/ipcpipeline
parent30f5abc32c7c8d8517f5089a54756efa4ab63428 (diff)
downloadgstreamer-plugins-bad-58e2b2ef1c057839b3fdc6b87a5b0a6708771ab6.tar.gz
ipcpipeline: don't use g_steal_pointer; it's not in the current required version of GLib
We depend on GLib 2.40, g_steal_pointer was introduced in 2.44. https://bugzilla.gnome.org/show_bug.cgi?id=785698
Diffstat (limited to 'sys/ipcpipeline')
-rw-r--r--sys/ipcpipeline/gstipcpipelinecomm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/ipcpipeline/gstipcpipelinecomm.c b/sys/ipcpipeline/gstipcpipelinecomm.c
index eee8e528f..e21da99f8 100644
--- a/sys/ipcpipeline/gstipcpipelinecomm.c
+++ b/sys/ipcpipeline/gstipcpipelinecomm.c
@@ -2305,7 +2305,8 @@ gst_value_deserialize_event (GValue * dest, const gchar * s)
goto fail;
gst_event_set_running_time_offset (ev, g_value_get_int64 (&val));
- g_value_take_boxed (dest, g_steal_pointer (&ev));
+ g_value_take_boxed (dest, ev);
+ ev = NULL;
ret = TRUE;
fail: