From c7d67f443bdfe842c2e356d4edbe345338e3e08d Mon Sep 17 00:00:00 2001 From: geronimo Date: Thu, 2 Aug 2012 09:30:50 +0200 Subject: patched client to support the new media types and display extended items --- cmps/serverlib/src/JSonListAssembler.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmps') 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()); -- cgit v1.2.3