From: Carl Hetherington Date: Thu, 25 Oct 2012 23:12:40 +0000 (+0100) Subject: More debug logging. X-Git-Tag: v2.0.48~1618 X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=b4cdfbe399851356ee3b0293671838320eff6bea More debug logging. --- diff --git a/builds/windows-64 b/builds/windows-64 index 065585ca5..f203370a1 100755 --- a/builds/windows-64 +++ b/builds/windows-64 @@ -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 diff --git a/src/lib/dcp_video_frame.cc b/src/lib/dcp_video_frame.cc index d9d7e7c83..3e58203ed 100644 --- a/src/lib/dcp_video_frame.cc +++ b/src/lib/dcp_video_frame.cc @@ -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);