diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-10-15 23:31:49 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-10-15 23:31:49 +0100 |
| commit | bd9906422fe59126a27a3002b2bb4ce497eef508 (patch) | |
| tree | 9976e8b4d90267168f898d3ea5888d5403c78694 /src/lib | |
| parent | e946a66554185459043af2a8bdae575e255c743d (diff) | |
Add a sub to the client/server test and fix an exposed bug.
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/server.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/server.cc b/src/lib/server.cc index 2d19d06be..d40325db0 100644 --- a/src/lib/server.cc +++ b/src/lib/server.cc @@ -127,7 +127,7 @@ Server::process (shared_ptr<Socket> socket) shared_ptr<Subtitle> sub; if (subtitle_position.x != -1) { - shared_ptr<Image> subtitle_image (new AlignedImage (pixel_format, subtitle_size)); + shared_ptr<Image> subtitle_image (new AlignedImage (PIX_FMT_RGBA, subtitle_size)); subtitle_image->read_from_socket (socket); sub.reset (new Subtitle (subtitle_position, subtitle_image)); } |
