[totem] Increase the time left to buffer slightly
- From: Bastien Nocera <hadess src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [totem] Increase the time left to buffer slightly
- Date: Wed, 4 Nov 2009 19:42:20 +0000 (UTC)
commit 7231cd429f76b3bfd72580c9d215caf5e40f45df
Author: Bastien Nocera <hadess hadess net>
Date: Wed Nov 4 19:38:59 2009 +0000
Increase the time left to buffer slightly
So that we don't get stopped on the way during playback.
src/backend/bacon-video-widget-gst-0.10.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/backend/bacon-video-widget-gst-0.10.c b/src/backend/bacon-video-widget-gst-0.10.c
index bc0edcc..2455ce5 100644
--- a/src/backend/bacon-video-widget-gst-0.10.c
+++ b/src/backend/bacon-video-widget-gst-0.10.c
@@ -1814,7 +1814,7 @@ bvw_buffering_done (BaconVideoWidget *bvw)
if (bvw->priv->buffering_left < 0)
return TRUE;
- return (bvw->priv->buffering_left < bvw->priv->stream_length);
+ return (bvw->priv->buffering_left * 1.1 < bvw->priv->stream_length);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]