aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJorn Baayen <jorn@openedhand.com>2008-06-28 08:03:22 +0000
committerJorn Baayen <jorn@openedhand.com>2008-06-28 08:03:22 +0000
commitfd9ccdc9c7867e7cf5b7d1059c3e89dcb21ef5d3 (patch)
tree53d514261127b9d95ef7a046dad16d0950d1d53e
parentb84f766bc5a0484ea1ff2ac668af2f0626872b39 (diff)
downloadgaku-fd9ccdc9c7867e7cf5b7d1059c3e89dcb21ef5d3.tar.gz
gaku-fd9ccdc9c7867e7cf5b7d1059c3e89dcb21ef5d3.tar.bz2
gaku-fd9ccdc9c7867e7cf5b7d1059c3e89dcb21ef5d3.zip
2008-06-28 Jorn Baayen <jorn@openedhand.com>
* audio-player.c (bus_message_state_change_cb): Do not disallow seeking of http streams any longer.
-rw-r--r--ChangeLog5
-rw-r--r--audio-player.c11
2 files changed, 8 insertions, 8 deletions
diff --git a/ChangeLog b/ChangeLog
index e69de29..8a3d575 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -0,0 +1,5 @@
+2008-06-28 Jorn Baayen <jorn@openedhand.com>
+
+ * audio-player.c (bus_message_state_change_cb):
+
+ Do not disallow seeking of http streams any longer.
diff --git a/audio-player.c b/audio-player.c
index 96f27b5..dc4707d 100644
--- a/audio-player.c
+++ b/audio-player.c
@@ -216,16 +216,11 @@ bus_message_state_change_cb (GstBus *bus,
NULL);
} else {
/**
- * Could not query for ability to seek. Determine
- * using URI.
+ * Could not query for ability to seek. Assume seek
+ * is supported.
**/
- if (g_str_has_prefix (audio_player->priv->uri,
- "http://")) {
- audio_player->priv->can_seek = FALSE;
- } else {
- audio_player->priv->can_seek = TRUE;
- }
+ audio_player->priv->can_seek = TRUE;
}
gst_query_unref (query);