Changeset 2448

Show
Ignore:
Timestamp:
2006-09-06 22:57:39 (2 years ago)
Author:
scott
Message:

Fixed previously noted bug with a hack. ie there should be a better way.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • scripts/trunk/annotool.py

    r2447 r2448  
    449449      x += 1 
    450450      self.progress.props.fraction = x/total_clips 
     451    self.pipeline.get_state() # Hack but stalls script until state change. FIXME 
    451452    if end_time!="": 
    452453      self.pipeline.seek(1.0, gst.FORMAT_TIME, gst.SEEK_FLAG_FLUSH | gst.SEEK_FLAG_ACCURATE, gst.SEEK_TYPE_SET, gst.MSECOND*to_ms(end_time), gst.SEEK_TYPE_NONE, 0)