summaryrefslogtreecommitdiff
path: root/rotord/src/rendercontext.cpp
diff options
context:
space:
mode:
authorTim Redfern <tim@eclectronics.org>2013-08-29 15:35:58 +0100
committerTim Redfern <tim@eclectronics.org>2013-08-29 15:35:58 +0100
commitfeb34d02ff8ef3c9cbe9e5a948a461c81d9b4d1a (patch)
treeddfec0212c0969e6976cd7099008fa87f55083ce /rotord/src/rendercontext.cpp
parent486a76df31169f2b510ae26e8252783d8f90de27 (diff)
parent1aacbf3bb5dee98bc5ab4994e1907a8416811941 (diff)
Merge branch 'master' of eclectronics.org@eclectronics.org:rotor
Diffstat (limited to 'rotord/src/rendercontext.cpp')
-rw-r--r--rotord/src/rendercontext.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/rotord/src/rendercontext.cpp b/rotord/src/rendercontext.cpp
index b93f39d..7d85cce 100644
--- a/rotord/src/rendercontext.cpp
+++ b/rotord/src/rendercontext.cpp
@@ -312,7 +312,8 @@ void Render_context::session_command(const Session_command& command,xmlIO& XML,H
int frame=root["frame"].asInt();
int width=root["width"].asInt();
int height=root["height"].asInt();
- if (graph.preview(XML,preview_node,frame,width,height)) {
+ string format=root["format"].asString();
+ if (graph.preview(XML,preview_node,format,frame,width,height)) {
status=HTTPResponse::HTTP_OK;
}
else {