diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-10-26 00:12:40 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-10-26 00:12:40 +0100 |
| commit | b4cdfbe399851356ee3b0293671838320eff6bea (patch) | |
| tree | 62a51e40b93dd3aea3df097af49a34bb563a3453 /src/lib | |
| parent | 1bd39716b0d8b0dc1f6b076f9f709385bd297dc9 (diff) | |
More debug logging.
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/dcp_video_frame.cc | 6 |
1 files changed, 6 insertions, 0 deletions
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); |
