From 937e4352072486832372fc8ebdb83583be9b8a2a Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 13 Jun 2016 23:11:20 +0100 Subject: More consistent error message in a subtitle exception. --- src/smpte_subtitle_asset.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/smpte_subtitle_asset.cc b/src/smpte_subtitle_asset.cc index c7272066..685b4fc7 100644 --- a/src/smpte_subtitle_asset.cc +++ b/src/smpte_subtitle_asset.cc @@ -99,7 +99,7 @@ SMPTESubtitleAsset::SMPTESubtitleAsset (boost::filesystem::path file) } catch (cxml::Error& e) { boost::throw_exception ( DCPReadError ( - String::compose ("could not read subtitles from %1; MXF failed with %2, XML failed with %3", file, static_cast (r), e.what ()) + String::compose ("MXF failed with %1, XML failed with %2", file, static_cast (r), e.what ()) ) ); } -- cgit v1.2.3