diff --git a/gst/elements/gstfdsrc.c b/gst/elements/gstfdsrc.c index 54cf98551d..2fdfcc5129 100644 --- a/gst/elements/gstfdsrc.c +++ b/gst/elements/gstfdsrc.c @@ -170,7 +170,7 @@ gst_fdsrc_get_property (GObject *object, guint prop_id, GValue *value, GParamSpe g_value_set_int (value, src->bytes_per_read); break; case ARG_OFFSET: - g_value_set_int (value, src->curoffset); + g_value_set_int64 (value, src->curoffset); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); diff --git a/plugins/elements/gstfdsrc.c b/plugins/elements/gstfdsrc.c index 54cf98551d..2fdfcc5129 100644 --- a/plugins/elements/gstfdsrc.c +++ b/plugins/elements/gstfdsrc.c @@ -170,7 +170,7 @@ gst_fdsrc_get_property (GObject *object, guint prop_id, GValue *value, GParamSpe g_value_set_int (value, src->bytes_per_read); break; case ARG_OFFSET: - g_value_set_int (value, src->curoffset); + g_value_set_int64 (value, src->curoffset); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);