Project

General

Profile

Bug #1187 ยป burn-0.2.0-storemode2.diff

FireFly, 12/25/2012 02:41 PM

View differences:

setup.c 2012-12-24 11:36:14.185747909 +0100
PROCTOOLS_INIT_PROPERTY( SkipMainmenu, true ),
PROCTOOLS_INIT_PROPERTY( UseSubtitleTracks, false )
{
if ( BurnParameters.fixedStoreMode )
{
if ( BurnParameters.DvdDevice.empty() )
StoreMode = storemode_create;
else
StoreMode = storemode_burn;
}
}
bool job_options::set( const std::string& name_, const std::string& value_ )
......
if ( name_ != StoreMode.name() || !BurnParameters.fixedStoreMode )
return proctools::property_bag::set( name_, value_ );
if ( BurnParameters.DvdDevice.empty() )
StoreMode = storemode_create;
else if ( BurnParameters.IsoPath.empty() )
StoreMode = storemode_burn;
return true;
}
    (1-1/1)