From 66e1ee5137b2964b27b4dd18fd61809cb261048b Mon Sep 17 00:00:00 2001 From: Philippe Normand Date: Thu, 11 Jul 2019 17:53:53 +0100 Subject: [PATCH] identity: Fix the ts-offset property getter Previous code was a copy/paste from the property setter function. --- plugins/elements/gstidentity.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/elements/gstidentity.c b/plugins/elements/gstidentity.c index 1577d97d55..bf6ba4026a 100644 --- a/plugins/elements/gstidentity.c +++ b/plugins/elements/gstidentity.c @@ -852,7 +852,7 @@ gst_identity_get_property (GObject * object, guint prop_id, GValue * value, g_value_set_boolean (value, identity->sync); break; case PROP_TS_OFFSET: - identity->ts_offset = g_value_get_int64 (value); + g_value_set_int64 (value, identity->ts_offset); break; case PROP_CHECK_IMPERFECT_TIMESTAMP: g_value_set_boolean (value, identity->check_imperfect_timestamp);