Try to fix the filter / AVFrame ownership.
[dcpomatic.git] / src / lib / format.cc
index 2f9f87ba945fd6e1550250807bf27434f402000b..8c3d0d8ad7f8f5eea541258032415c1b6cab12b7 100644 (file)
@@ -50,7 +50,7 @@ FixedFormat::name () const
                s << _nickname << N_(" (");
        }
 
-       s << setprecision(3) << (_ratio / 100.0) << N_(":1");
+       s << setprecision(3) << _ratio << N_(":1");
 
        if (!_nickname.empty ()) {
                s << N_(")");
@@ -84,7 +84,7 @@ Format::setup_formats ()
                        ));
        
        _formats.push_back (
-               new FixedFormat (4.0 / 30, libdcp::Size (1998, 1080), N_("133-in-flat"), _("4:3 within Flat"), N_("F")
+               new FixedFormat (4.0 / 3.0, libdcp::Size (1998, 1080), N_("133-in-flat"), _("4:3 within Flat"), N_("F")
                        ));
        
        _formats.push_back (