return if we have an exception

This commit is contained in:
Thomas Vander Stichele
2013-01-18 19:24:42 +01:00
parent 20cb0b3180
commit 884c047713

View File

@@ -153,6 +153,7 @@ class ChecksumTask(log.Loggable, gstreamer.GstPipelineTask):
self.debug(
'not a single buffer gotten, setting exception EmptyError')
self.setException(common.EmptyError('not a single buffer gotten'))
return
else:
self._checksum = self._checksum % 2 ** 32
self.debug("last offset %r", self._last.offset)