summaryrefslogtreecommitdiff
path: root/rotord/src/rendercontext.cpp
diff options
context:
space:
mode:
authorComment <tim@gray.(none)>2013-08-28 21:51:56 +0100
committerComment <tim@gray.(none)>2013-08-28 21:51:56 +0100
commit1aacbf3bb5dee98bc5ab4994e1907a8416811941 (patch)
treee7057c80480f7ebb1d9d2998fcf6a5759b42668f /rotord/src/rendercontext.cpp
parentcaed9b7b05005ee2bcec8e7262bf5f63fe2a4df8 (diff)
preview in XML base64
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 {