Commit 452ada61 authored by Ludovic Fauvet's avatar Ludovic Fauvet
Browse files

Fix a bug where the displayed length of the video was wrong

parent 9ec4c754
......@@ -150,7 +150,7 @@ void TracksView::addClip( Clip* clip, const QPoint& point )
GraphicsMovieItem* item = new GraphicsMovieItem( clip );
item->setPos( mappedXPos, track * tracksHeight() );
item->setWidth( clip->getLength() / m_fps );
item->setWidth( ( (double)clip->getLength() / 1000 ) * m_fps );
item->setHeight( tracksHeight() );
m_scene->addItem( item );
item->show();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment