summaryrefslogtreecommitdiff
path: root/cmps
diff options
context:
space:
mode:
authorgeronimo <geronimo013@gmx.de>2012-08-02 07:30:50 (GMT)
committergeronimo <geronimo013@gmx.de>2012-08-02 07:30:50 (GMT)
commitc7d67f443bdfe842c2e356d4edbe345338e3e08d (patch)
tree9be157c84c35305cafd2f53d347b34ac0200b5a2 /cmps
parentadb7d83292e1502ca7c21a123b104412cb22d160 (diff)
downloadcmp-c7d67f443bdfe842c2e356d4edbe345338e3e08d.tar.gz
cmp-c7d67f443bdfe842c2e356d4edbe345338e3e08d.tar.bz2
patched client to support the new media types and display extended items
Diffstat (limited to 'cmps')
-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());