identity: Fix the ts-offset property getter

Previous code was a copy/paste from the property setter function.
This commit is contained in:
Philippe Normand 2019-07-11 17:53:53 +01:00 committed by Tim-Philipp Müller
parent 99aeb91cc0
commit 66e1ee5137

View file

@ -852,7 +852,7 @@ gst_identity_get_property (GObject * object, guint prop_id, GValue * value,
g_value_set_boolean (value, identity->sync); g_value_set_boolean (value, identity->sync);
break; break;
case PROP_TS_OFFSET: case PROP_TS_OFFSET:
identity->ts_offset = g_value_get_int64 (value); g_value_set_int64 (value, identity->ts_offset);
break; break;
case PROP_CHECK_IMPERFECT_TIMESTAMP: case PROP_CHECK_IMPERFECT_TIMESTAMP:
g_value_set_boolean (value, identity->check_imperfect_timestamp); g_value_set_boolean (value, identity->check_imperfect_timestamp);