blob: 9b2c2e9b9ad7b8e76b58f9055d6ee492eed1b906 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#include <iostream>
#include "subtitle_content.h"
using namespace std;
int main (int argc, char* argv[])
{
if (argc < 2) {
cerr << "Syntax: " << argv[0] << " <subtitle file>\n";
exit (EXIT_FAILURE);
}
dcp::SubtitleContent s (argv[1]);
cout << s.xml_as_string ();
return 0;
}
|