GstSourceGroup *next_group; /* pointer to the next group */
/* properties */
- guint connection_speed; /* connection speed in bits/sec (0 = unknown) */
+ guint64 connection_speed; /* connection speed in bits/sec (0 = unknown) */
gint current_video; /* the currently selected stream */
gint current_audio; /* the currently selected stream */
gint current_text; /* the currently selected stream */
G_PARAM_WRITABLE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_klass, PROP_CONNECTION_SPEED,
- g_param_spec_uint ("connection-speed", "Connection Speed",
+ g_param_spec_uint64 ("connection-speed", "Connection Speed",
"Network connection speed in kbps (0 = unknown)",
- 0, G_MAXUINT / 1000, DEFAULT_CONNECTION_SPEED,
+ 0, G_MAXUINT64 / 1000, DEFAULT_CONNECTION_SPEED,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_klass, PROP_BUFFER_SIZE,
break;
case PROP_CONNECTION_SPEED:
GST_PLAY_BIN_LOCK (playbin);
- playbin->connection_speed = g_value_get_uint (value) * 1000;
+ playbin->connection_speed = g_value_get_uint64 (value) * 1000;
GST_PLAY_BIN_UNLOCK (playbin);
break;
case PROP_BUFFER_SIZE:
break;
case PROP_CONNECTION_SPEED:
GST_PLAY_BIN_LOCK (playbin);
- g_value_set_uint (value, playbin->connection_speed / 1000);
+ g_value_set_uint64 (value, playbin->connection_speed / 1000);
GST_PLAY_BIN_UNLOCK (playbin);
break;
case PROP_BUFFER_SIZE:
GList *factories; /* factories we can use for selecting elements */
gchar *uri;
- guint connection_speed;
+ guint64 connection_speed;
GstCaps *caps;
gchar *encoding;
GST_TYPE_ELEMENT, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, PROP_CONNECTION_SPEED,
- g_param_spec_uint ("connection-speed", "Connection Speed",
+ g_param_spec_uint64 ("connection-speed", "Connection Speed",
"Network connection speed in kbps (0 = unknown)",
- 0, G_MAXUINT / 1000, DEFAULT_CONNECTION_SPEED,
+ 0, G_MAXUINT64 / 1000, DEFAULT_CONNECTION_SPEED,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, PROP_CAPS,
break;
case PROP_CONNECTION_SPEED:
GST_OBJECT_LOCK (dec);
- dec->connection_speed = g_value_get_uint (value) * 1000;
+ dec->connection_speed = g_value_get_uint64 (value) * 1000;
GST_OBJECT_UNLOCK (dec);
break;
case PROP_CAPS:
break;
case PROP_CONNECTION_SPEED:
GST_OBJECT_LOCK (dec);
- g_value_set_uint (value, dec->connection_speed / 1000);
+ g_value_set_uint64 (value, dec->connection_speed / 1000);
GST_OBJECT_UNLOCK (dec);
break;
case PROP_CAPS: