for Stewart
[asdcplib.git] / src / klvwalk.cpp
index 6ef04744b4cdd53e5bb8bbfea77f226d12d42300..bcdda85de40ceb7f71c9be50bfe2f20fc1ab4ab5 100755 (executable)
@@ -1,5 +1,5 @@
 /*
-Copyright (c) 2005-2009, John Hurst
+Copyright (c) 2005-2013, John Hurst
 All rights reserved.
 
 Redistribution and use in source and binary forms, with or without
@@ -65,7 +65,7 @@ banner(FILE* stream = stdout)
 {
   fprintf(stream, "\n\
 %s (asdcplib %s)\n\n\
-Copyright (c) 2005-2009 John Hurst\n\
+Copyright (c) 2005-2013 John Hurst\n\
 %s is part of the asdcplib DCP tools package.\n\
 asdcplib may be copied only under the terms of the license found at\n\
 the top of every file in the asdcplib distribution kit.\n\n\
@@ -225,7 +225,7 @@ main(int argc, const char** argv)
            }
          else
            {
-             DefaultLogSink().Error("ASDCP::h__Reader::OpenMXFRead, SeekToRIP failed\n");
+             DefaultLogSink().Error("read_mxf SeekToRIP failed: %s\n", result.Label());
            }
 
          if ( ASDCP_SUCCESS(result) )
@@ -302,11 +302,13 @@ main(int argc, const char** argv)
            }
          else
            {
-             DefaultLogSink().Error("ASDCP::h__Reader::OpenMXFRead, SeekToRIP failed\n");
+             DefaultLogSink().Error("walk_parts SeekToRIP failed: %s\n", result.Label());
            }
 
          if ( ASDCP_SUCCESS(result) )
            {
+             RIP.Dump();
+
              MXF::Array<MXF::RIP::Pair>::const_iterator i;
              for ( i = RIP.PairArray.begin(); i != RIP.PairArray.end(); ++i )
                {