Commit 0cd89652 authored by Parthiban Balasubramanian's avatar Parthiban Balasubramanian

Merged master into cablelabs/master

parents f19badf2 8dcea512
0.12.5
======
Changes since 0.12.4:
- Fix name of cleartext-size property.
- Fix creation of pv namespace in DIDLLite parser.
- Check for empty mandatory tags in UpdateObject.
Bugs fixed in this release:
- https://bugzilla.gnome.org/show_bug.cgi?id=705522
- https://bugzilla.gnome.org/show_bug.cgi?id=719377
All contributors to this release:
- Parthiban Balasubramanian <p.balasubramanian@cablelabs.com>
- Jens Georg <mail@jensge.org>
0.12.4
======
......
AC_PREREQ([2.63])
AC_INIT([gupnp-av],
[0.12.5],
[0.12.6],
[https://bugzilla.gnome.org/enter_bug.cgi?product=GUPnP],
[gupnp-av],
[http://www.gupnp.org/])
......
......@@ -710,13 +710,16 @@ fragment_util_check_fragments (DocNode *original,
goto out;
}
/* If the child element is title or class,
* it must not be set to empty or removed. */
if (current_doc->children->children != NULL) {
if (g_strrstr
(current_doc->children->children->name, "title") != NULL ||
g_strrstr
(current_doc->children->children->name, "class") != NULL) {
/* Assuming current_doc->children is non-NULL. */
if (current_doc->children != NULL &&
current_doc->children->children != NULL) {
/* If the child element is title or class,
* it must not be set to empty or removed.
*/
if (g_strrstr (current_doc->children->children->name,
"title") != NULL ||
g_strrstr (current_doc->children->children->name,
"class") != NULL) {
/* If the new tag has no corresponding title or class element */
if (new_doc->children->children == NULL) {
result = GUPNP_DIDL_LITE_FRAGMENT_RESULT_REQUIRED_TAG;
......
......@@ -322,7 +322,7 @@ gupnp_didl_lite_parser_parse_didl_recursive (GUPnPDIDLLiteParser *parser,
(unsigned char *)
GUPNP_DIDL_LITE_WRITER_NAMESPACE_DLNA);
if (! pv_ns)
dlna_ns = xmlNewNs (xmlDocGetRootElement (doc),
pv_ns = xmlNewNs (xmlDocGetRootElement (doc),
(unsigned char *)
"http://www.pv.com/pvns/",
(unsigned char *)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment