X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fsubrip_content.cc;h=c60b05d50a1ede29617d30ae2c8733593546b190;hb=8f6277ad312410efe4187a03d6795f344b433475;hp=892578adecc11595bf8059ee2530f87bf88dca14;hpb=05654d0e1799746a9df3ccab040c92e0ed825cac;p=dcpomatic.git diff --git a/src/lib/subrip_content.cc b/src/lib/subrip_content.cc index 892578ade..c60b05d50 100644 --- a/src/lib/subrip_content.cc +++ b/src/lib/subrip_content.cc @@ -42,7 +42,7 @@ SubRipContent::SubRipContent (shared_ptr film, boost::filesystem::pa SubRipContent::SubRipContent (shared_ptr film, cxml::ConstNodePtr node, int version) : Content (film, node) , SubtitleContent (film, node, version) - , _length (node->number_child ("Length")) + , _length (node->number_child ("Length")) { } @@ -77,7 +77,7 @@ SubRipContent::technical_summary () const string SubRipContent::information () const { - + } void @@ -97,15 +97,3 @@ SubRipContent::full_length () const */ return _length; } - -string -SubRipContent::identifier () const -{ - stringstream s; - s << Content::identifier() - << "_" << raw_convert (subtitle_scale()) - << "_" << raw_convert (subtitle_x_offset()) - << "_" << raw_convert (subtitle_y_offset()); - - return s.str (); -}