summaryrefslogtreecommitdiff
path: root/test/subs_in_out.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-12-14 22:44:23 +0000
committerCarl Hetherington <cth@carlh.net>2014-12-14 22:44:23 +0000
commit861117816d557cd048d56b26f8903ac26a94b395 (patch)
tree269649a3b7e3ed2f3f6dedd46e167921da388958 /test/subs_in_out.cc
parente58cec97a15d1d5dd198dfb145e1d7daf6be9641 (diff)
Switch subtitle string font specs to be the font ID; split SubtitleContent into Interop and SMPTE.
Diffstat (limited to 'test/subs_in_out.cc')
-rw-r--r--test/subs_in_out.cc23
1 files changed, 21 insertions, 2 deletions
diff --git a/test/subs_in_out.cc b/test/subs_in_out.cc
index f3f4baf9..e5d6c19c 100644
--- a/test/subs_in_out.cc
+++ b/test/subs_in_out.cc
@@ -1,5 +1,24 @@
+/*
+ Copyright (C) 2012-2014 Carl Hetherington <cth@carlh.net>
+
+ This program 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,
+ 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.
+
+*/
+
+#include "interop_subtitle_content.h"
#include <iostream>
-#include "subtitle_content.h"
using namespace std;
@@ -10,7 +29,7 @@ int main (int argc, char* argv[])
exit (EXIT_FAILURE);
}
- dcp::SubtitleContent s (argv[1], false);
+ dcp::InteropSubtitleContent s (argv[1]);
cout << s.xml_as_string ();
return 0;
}