thomasvs - in flumotion/trunk: . flumotion/component
flumotion-commit at lists.fluendo.com
flumotion-commit at lists.fluendo.com
Mon Mar 5 19:56:56 CET 2007
Author: thomasvs
Date: Mon Mar 5 19:56:55 2007
New Revision: 4586
Modified:
flumotion/trunk/ChangeLog
flumotion/trunk/flumotion/component/feedcomponent010.py
Log:
* flumotion/component/feedcomponent010.py:
Don't traceback with older plugins base for the uiState
calculations.
Modified: flumotion/trunk/ChangeLog
==============================================================================
--- flumotion/trunk/ChangeLog (original)
+++ flumotion/trunk/ChangeLog Mon Mar 5 19:56:55 2007
@@ -1,3 +1,9 @@
+2007-03-05 Thomas Vander Stichele <thomas at apestaart dot org>
+
+ * flumotion/component/feedcomponent010.py:
+ Don't traceback with older plugins base for the uiState
+ calculations.
+
2007-03-05 Andy Wingo <wingo at pobox.com>
* flumotion/common/common.py (daemonizeHelper._deletePidFile): Fix
Modified: flumotion/trunk/flumotion/component/feedcomponent010.py
==============================================================================
--- flumotion/trunk/flumotion/component/feedcomponent010.py (original)
+++ flumotion/trunk/flumotion/component/feedcomponent010.py Mon Mar 5 19:56:55 2007
@@ -138,7 +138,9 @@
# added in gst-plugins-base 0.10.11
buffersDropped = stats[5]
else:
- buffersDropped = None
+ # We don't know, but we cannot use None
+ # since that would break integer addition below
+ buffersDropped = 0
self.uiState.set('bytesReadCurrent', bytesSent)
self.uiState.set('buffersDroppedCurrent', buffersDropped)
More information about the flumotion-commit
mailing list