More debug logging.
authorCarl Hetherington <cth@carlh.net>
Thu, 25 Oct 2012 23:12:40 +0000 (00:12 +0100)
committerCarl Hetherington <cth@carlh.net>
Thu, 25 Oct 2012 23:12:40 +0000 (00:12 +0100)
builds/windows-64
src/lib/dcp_video_frame.cc

index 065585ca5e7d1aef19d025200e5880369ae5efd2..f203370a11a91c9f817ff0b48e4d279a033a05c6 100755 (executable)
@@ -14,6 +14,7 @@ export PATH=$WINDOWS_PREFIX/bin:$PATH
 CXX=$MINGW_CXX WINRC=$MINGW_WINDRES \
   CXXFLAGS="-I$WINDOWS_PREFIX/include -I$MINGW_PREFIX/include" \
   LINKFLAGS="-L$WINDOWS_PREFIX/lib -L$MINGW_PREFIX/lib" \
+  PATH=$WINDOWS_PREFIX/bin:$PATH \
   ./waf configure --target-windows
 if [ "$?" != "0" ]; then
   exit 1
index d9d7e7c833ed2266d469b437cd394b9e42b79c68..3e58203ede9eecee86558416b169c8fed01e69ad 100644 (file)
@@ -345,6 +345,12 @@ DCPVideoFrame::encode_remotely (ServerDescription const * serv)
                  << "subtitle_height " << _subtitle->image()->size().height << "\n";
        }
 
+       _log->log (String::compose (
+                          "Sending to remote; pixel format %1, components %2, line sizes (%3,%4,%5)",
+                          _input->pixel_format(), _input->components(),
+                          _input->line_size()[0], _input->line_size()[1], _input->line_size()[2]
+                          ));
+       
        socket->write ((uint8_t *) s.str().c_str(), s.str().length() + 1, 30);
 
        _input->write_to_socket (socket);