mlt_position mlt_frame_get_position( mlt_frame this )
{
- return mlt_properties_get_position( mlt_frame_properties( this ), "_position" );
+ int pos = mlt_properties_get_position( mlt_frame_properties( this ), "_position" );
+ return pos < 0 ? 0 : pos;
}
/** Set the position of this frame.