summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-10-26 00:12:40 +0100
committerCarl Hetherington <cth@carlh.net>2012-10-26 00:12:40 +0100
commitb4cdfbe399851356ee3b0293671838320eff6bea (patch)
tree62a51e40b93dd3aea3df097af49a34bb563a3453
parent1bd39716b0d8b0dc1f6b076f9f709385bd297dc9 (diff)
More debug logging.
-rwxr-xr-xbuilds/windows-641
-rw-r--r--src/lib/dcp_video_frame.cc6
2 files changed, 7 insertions, 0 deletions
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);