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

Clip: Some kind of sanity check.

Solving a warning at the same time.
parent c636ffc8
......@@ -278,7 +278,7 @@ Clip::isChild( const QUuid &uuid) const
void
Clip::mediaMetadataUpdated( const Media *media )
{
Q_ASSERT ( isRootClip() == true );
Q_ASSERT ( isRootClip() == true && m_media == media );
if ( m_end == 0 )
{
m_begin = 0;
......
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