Fix error.
authorCarl Hetherington <cth@carlh.net>
Mon, 12 Sep 2016 09:40:01 +0000 (10:40 +0100)
committerCarl Hetherington <cth@carlh.net>
Mon, 12 Sep 2016 09:40:01 +0000 (10:40 +0100)
src/smpte_subtitle_asset.cc

index 128729d87bd988798a267d9a675be6b2ca177d0b..3b30a0c71a5be7edd1dff883c3cbfe48cb5f1976 100644 (file)
@@ -103,7 +103,10 @@ SMPTESubtitleAsset::SMPTESubtitleAsset (boost::filesystem::path file)
                } catch (cxml::Error& e) {
                        boost::throw_exception (
                                DCPReadError (
-                                       String::compose ("MXF failed with %1, XML failed with %2", file, static_cast<int> (r), e.what ())
+                                       String::compose (
+                                               "Failed to read subtitle file %1; MXF failed with %2, XML failed with %3",
+                                               file, static_cast<int> (r), e.what ()
+                                               )
                                        )
                                );
                }