totem r5794 - in trunk: . src/backend



Author: hadess
Date: Mon Nov  3 21:41:17 2008
New Revision: 5794
URL: http://svn.gnome.org/viewvc/totem?rev=5794&view=rev

Log:
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)



Modified:
   trunk/ChangeLog
   trunk/src/backend/bacon-video-widget-gst-0.10.c
   trunk/src/backend/bacon-video-widget-xine.c

Modified: trunk/src/backend/bacon-video-widget-gst-0.10.c
==============================================================================
--- trunk/src/backend/bacon-video-widget-gst-0.10.c	(original)
+++ trunk/src/backend/bacon-video-widget-gst-0.10.c	Mon Nov  3 21:41:17 2008
@@ -1674,7 +1674,7 @@
     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",

Modified: trunk/src/backend/bacon-video-widget-xine.c
==============================================================================
--- trunk/src/backend/bacon-video-widget-xine.c	(original)
+++ trunk/src/backend/bacon-video-widget-xine.c	Mon Nov  3 21:41:17 2008
@@ -2084,7 +2084,7 @@
 		}
 	}
 
-	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,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]