Commit 8133062a authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

Media: Fix snapshot resolution

parent e6cc7b7f
......@@ -186,8 +186,7 @@ Media::onMetaDataComputed()
if ( m_source->hasVideo() && m_source->snapshot() != NULL )
{
Q_ASSERT( m_snapshotImage == NULL );
m_snapshotImage = new QImage( m_source->snapshot(), m_source->width(),
m_source->height(), QImage::Format_RGB32 );
m_snapshotImage = new QImage( m_source->snapshot(), 320, 180, QImage::Format_RGB32 );
emit snapshotAvailable();
}
}
......
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