Commit 13a09b13 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller 🐠
Browse files

sys/v4l/gstv4lsrc.c: The 'timestamp-offset' property is registered as an...

sys/v4l/gstv4lsrc.c: The 'timestamp-offset' property is registered as an int64, so let's use g_value_{set|get}_int64(...

Original commit message from CVS:
* sys/v4l/gstv4lsrc.c: (gst_v4lsrc_set_property),
(gst_v4lsrc_get_property):
The 'timestamp-offset' property is registered as an int64, so
let's use g_value_{set|get}_int64() in our setter and getter
functions (makes it work and fixes warnings with gst-inspect).
parent 0b18cb8f
2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
* sys/v4l/gstv4lsrc.c: (gst_v4lsrc_set_property),
(gst_v4lsrc_get_property):
The 'timestamp-offset' property is registered as an int64, so
let's use g_value_{set|get}_int64() in our setter and getter
functions (makes it work and fixes warnings with gst-inspect).
2005-08-30 Wim Taymans <wim@fluendo.com>
 
* check/elements/audioconvert.c: (setup_audioconvert):
......
......@@ -165,7 +165,7 @@ gst_v4lsrc_set_property (GObject * object,
v4lsrc->copy_mode = g_value_get_boolean (value);
break;
case PROP_TIMESTAMP_OFFSET:
v4lsrc->timestamp_offset = g_value_get_int (value);
v4lsrc->timestamp_offset = g_value_get_int64 (value);
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
......@@ -191,7 +191,7 @@ gst_v4lsrc_get_property (GObject * object,
g_value_set_boolean (value, v4lsrc->copy_mode);
break;
case PROP_TIMESTAMP_OFFSET:
g_value_set_int (value, v4lsrc->timestamp_offset);
g_value_set_int64 (value, v4lsrc->timestamp_offset);
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment