summaryrefslogtreecommitdiff
path: root/cmps/serverlib/src/JSonListAssembler.cc
diff options
context:
space:
mode:
Diffstat (limited to 'cmps/serverlib/src/JSonListAssembler.cc')
-rw-r--r--cmps/serverlib/src/JSonListAssembler.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmps/serverlib/src/JSonListAssembler.cc b/cmps/serverlib/src/JSonListAssembler.cc
index bdeb7b9..bae15c4 100644
--- a/cmps/serverlib/src/JSonListAssembler.cc
+++ b/cmps/serverlib/src/JSonListAssembler.cc
@@ -64,7 +64,7 @@ bool cJSonListAssembler::AddElement(cStringBuilder &sb, void *ListElement, bool
writer->Object();
writer->Key("name").Value(m->Name());
writer->Key("type").Value(m->MediaType());
- writer->Key("format").Value(m->Format());
+ writer->Key("format").Value(m->Format() ? m->Format() : " ");
writer->Key("width").Value(m->Width());
writer->Key("height").Value(m->Height());
writer->Key("path").Value(m->URI());