summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog9
-rw-r--r--src/backend/bacon-video-widget-gst-0.10.c2
-rw-r--r--src/backend/bacon-video-widget-xine.c2
3 files changed, 11 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index ecd6cea23..ff34b5808 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2008-11-03 Bastien Nocera <hadess@hadess.net>
+
+ * src/backend/bacon-video-widget-gst-0.10.c (got_time_tick):
+ * src/backend/bacon-video-widget-xine.c
+ (bacon_video_widget_tick_send): Patch by Robin Stocker
+ <robin@nibor.org> to fix the inverted logic in the "is_live_stream"
+ calculation, fixes local files being stopped instead of paused
+ (Closes: #559078)
+
2008-10-29 Philip Withnall <philip@tecnocode.co.uk>
* src/backend/video-utils.c (totem_time_to_string): Use C_() instead
diff --git a/src/backend/bacon-video-widget-gst-0.10.c b/src/backend/bacon-video-widget-gst-0.10.c
index 8736bf8a3..3e2d68b46 100644
--- a/src/backend/bacon-video-widget-gst-0.10.c
+++ b/src/backend/bacon-video-widget-gst-0.10.c
@@ -1674,7 +1674,7 @@ got_time_tick (GstElement * play, gint64 time_nanos, BaconVideoWidget * bvw)
seekable = TRUE;
}
- bvw->priv->is_live = (bvw->priv->stream_length > 0);
+ bvw->priv->is_live = (bvw->priv->stream_length == 0);
/*
GST_DEBUG ("%" GST_TIME_FORMAT ",%" GST_TIME_FORMAT " %s",
diff --git a/src/backend/bacon-video-widget-xine.c b/src/backend/bacon-video-widget-xine.c
index 6620134ef..772913062 100644
--- a/src/backend/bacon-video-widget-xine.c
+++ b/src/backend/bacon-video-widget-xine.c
@@ -2084,7 +2084,7 @@ bacon_video_widget_tick_send (BaconVideoWidget *bvw)
}
}
- bvw->priv->is_live = (stream_length > 0);
+ bvw->priv->is_live = (stream_length == 0);
if (stream_length != 0 && bvw->com->mrl != NULL) {
seekable = xine_get_stream_info (bvw->priv->stream,