X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fffmpeg_content.cc;h=de967c04554cb843c08a8cbb09330078d483e1a6;hb=a1b0ed4ac0753b420ce8ab8467165e220bdb4b05;hp=68132c5abf94bea8aedd52196b8520712b0c1e8c;hpb=46cd0fe7b5b514f0d9456b25f670679cc584a218;p=dcpomatic.git diff --git a/src/lib/ffmpeg_content.cc b/src/lib/ffmpeg_content.cc index 68132c5ab..de967c045 100644 --- a/src/lib/ffmpeg_content.cc +++ b/src/lib/ffmpeg_content.cc @@ -34,6 +34,7 @@ using std::stringstream; using std::vector; using std::list; using std::cout; +using std::pair; using boost::shared_ptr; using boost::lexical_cast; @@ -47,6 +48,7 @@ FFmpegContent::FFmpegContent (shared_ptr f, boost::filesystem::path : Content (f, p) , VideoContent (f, p) , AudioContent (f, p) + , SubtitleContent (f, p) { } @@ -55,6 +57,7 @@ FFmpegContent::FFmpegContent (shared_ptr f, shared_ptr > c = node->node_children ("SubtitleStream"); for (list >::const_iterator i = c.begin(); i != c.end(); ++i) { @@ -77,19 +80,7 @@ FFmpegContent::FFmpegContent (shared_ptr f, shared_ptrcontent ())); } - _first_video = node->optional_number_child