blob: 209602e54a3e82b8feb7cc82c493ccf5025939f8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#include <iostream>
#include "subtitle_asset.h"
using namespace std;
int main (int argc, char* argv[])
{
if (argc < 2) {
cerr << "Syntax: " << argv[0] << " <subtitle file>\n";
exit (EXIT_FAILURE);
}
libdcp::SubtitleAsset s ("foo", "bar", "baz");
s.read_xml (argv[1]);
s.write_xml (cout);
return 0;
}
|