projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09909d3
)
identity: Fix the ts-offset property getter
author
Philippe Normand
<philn@igalia.com>
Thu, 11 Jul 2019 16:53:53 +0000
(17:53 +0100)
committer
Philippe Normand
<philn@igalia.com>
Thu, 11 Jul 2019 16:53:53 +0000
(17:53 +0100)
Previous code was a copy/paste from the property setter function.
plugins/elements/gstidentity.c
patch
|
blob
|
history
diff --git
a/plugins/elements/gstidentity.c
b/plugins/elements/gstidentity.c
index
1577d97
..
bf6ba40
100644
(file)
--- 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);