~ubuntu-branches/ubuntu/trusty/pitivi/trusty

« back to all changes in this revision

Viewing changes to pitivi/pipeline.py

* New upstream pre-release:
  + debian/control:
    - Update dependencies.
* debian/control:
  + Update Standards-Version to 3.8.2.

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
        self.factory = factory
57
57
        self.streams = {}
58
58
 
59
 
    def __repr__(self):
 
59
    def __str__(self):
60
60
        return "<FactoryEntry %s>" % self.factory
61
61
 
62
62
class StreamEntry(object):
81
81
 
82
82
        return entry
83
83
 
84
 
    def __repr__(self):
 
84
    def __str__(self):
85
85
        return "<StreamEntry %s '%s'>" % (self.factory_entry.factory, self.stream)
86
86
 
87
87
class Pipeline(Signallable, Loggable):
413
413
                                  gst.SEEK_TYPE_SET, position,
414
414
                                  gst.SEEK_TYPE_NONE, -1)
415
415
        if not res:
 
416
            self.debug("seeking failed")
416
417
            raise PipelineError("seek failed")
417
418
        self.debug("seeking succesfull")
418
419
        self.emit('position', position)