~ubuntu-branches/ubuntu/hardy/kdenlive/hardy

« back to all changes in this revision

Viewing changes to kdenlive/kmmscreen.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Albin Tonnerre
  • Date: 2008-01-30 17:07:51 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20080130170751-lyc8p6xvd7o98ur5
Tags: 0.5.svn20071228-0.0ubuntu1
* Merge from debian-multimedia (LP: #150453). Remaining changes:
  - Bump compat to 5
  - Suggest dvgrab and ffmpeg (needed for firewire capture)
  - debian/{rules,control}: add a kdenlive-data package
  - Add .install files for kdenlive and kdenlive-data
  - debian/copyright: add some copyright information
  - Modify Maintainer value to match the DebianMaintainerField specification

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
 
41
41
         connect(m_render, SIGNAL(playing(double)), m_monitor,
42
42
            SLOT(slotPlaySpeedChanged(double)));
 
43
 
 
44
         connect(m_render, SIGNAL(durationChanged()), this,
 
45
            SLOT(updateClipLength()));
 
46
 
43
47
         connect(m_render, SIGNAL(stopped()), this,
44
48
            SLOT(slotRendererStopped()));
45
49
        m_render->createVideoXWindow(winId(), m_monitor->externalMonitor());
186
190
        seek(newSeek);
187
191
    }
188
192
 
189
 
    void KMMScreen::setClipLength(GenTime duration) {
190
 
        m_clipLength = duration;
 
193
    void KMMScreen::updateClipLength(){
 
194
        int length = getLength();
 
195
        kdDebug()<<"//  SCREEN length update: "<<length<<endl;
 
196
        m_monitor->editPanel()->setClipLength(length);
 
197
        m_clipLength = GenTime(length, KdenliveSettings::defaultfps());
191
198
    }
192
199
 
193
200
}                               // namespace Gui