X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Ftypes.h;fp=src%2Ftypes.h;h=1102f16b56bbaea6a30c078ed5619e117e2e4b5d;hb=2b522d0382a6d4534f1504123a9d16700fe50f0a;hp=684145dd25fc13a681a7046fee5946f455182720;hpb=3c90f397bf2222e0249ba169df0dac75b556f989;p=libdcp.git diff --git a/src/types.h b/src/types.h index 684145dd..1102f16b 100644 --- a/src/types.h +++ b/src/types.h @@ -215,6 +215,8 @@ extern std::ostream& operator<< (std::ostream& s, Fraction const & f); * * When comparing things, we want to be able to ignore some differences; * this class expresses those differences. + * + * It also contains some settings for how the comparison should be done. */ struct EqualityOptions { @@ -229,6 +231,7 @@ struct EqualityOptions , issue_dates_can_differ (false) , load_font_nodes_can_differ (false) , keep_going (false) + , export_differing_subtitles (false) {} /** The maximum allowable mean difference in pixel value between two images */ @@ -247,6 +250,8 @@ struct EqualityOptions bool issue_dates_can_differ; bool load_font_nodes_can_differ; bool keep_going; + /** true to save the first pair of differeng image subtitles to the current working directory */ + bool export_differing_subtitles; }; /* I've been unable to make mingw happy with ERROR as a symbol, so