Add another translator.
[dcpomatic.git] / src / tools / dcpomatic_cli.cc
index 63dd7f45e02f3b0dff5a2eefd6b850fffb7319ad..b9d322a66ff3b114c05b29f22a63d223be3bdf44 100644 (file)
@@ -1,19 +1,20 @@
 /*
     Copyright (C) 2012-2015 Carl Hetherington <cth@carlh.net>
 
-    This program is free software; you can redistribute it and/or modify
+    This file is part of DCP-o-matic.
+
+    DCP-o-matic is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
     the Free Software Foundation; either version 2 of the License, or
     (at your option) any later version.
 
-    This program is distributed in the hope that it will be useful,
+    DCP-o-matic is distributed in the hope that it will be useful,
     but WITHOUT ANY WARRANTY; without even the implied warranty of
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     GNU General Public License for more details.
 
     You should have received a copy of the GNU General Public License
-    along with this program; if not, write to the Free Software
-    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+    along with DCP-o-matic.  If not, see <http://www.gnu.org/licenses/>.
 
 */
 
@@ -85,8 +86,8 @@ print_dump (shared_ptr<Film> film)
                     << " end trim " << c->trim_end().seconds () << "\n";
 
                if (c->video) {
-                       cout << "\t" << c->video->video_size().width << "x" << c->video->video_size().height << "\n"
-                            << "\t" << c->video->video_frame_rate() << "fps\n"
+                       cout << "\t" << c->video->size().width << "x" << c->video->size().height << "\n"
+                            << "\t" << c->active_video_frame_rate() << "fps\n"
                             << "\tcrop left " << c->video->left_crop()
                             << " right " << c->video->right_crop()
                             << " top " << c->video->top_crop()
@@ -107,8 +108,8 @@ print_dump (shared_ptr<Film> film)
                }
 
                if (c->audio) {
-                       cout << "\t" << c->audio->audio_delay() << " delay\n"
-                            << "\t" << c->audio->audio_gain() << " gain\n";
+                       cout << "\t" << c->audio->delay() << " delay\n"
+                            << "\t" << c->audio->gain() << " gain\n";
                }
        }
 }