[gupnp-av] Fix unsetting subtitleFileType



commit 2afe3bb198a0c41d7686e965f7c6e12fde72e815
Author: Jens Georg <mail jensge org>
Date:   Sat Jul 10 07:50:03 2021 +0200

    Fix unsetting subtitleFileType

 libgupnp-av/gupnp-didl-lite-resource.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/libgupnp-av/gupnp-didl-lite-resource.c b/libgupnp-av/gupnp-didl-lite-resource.c
index 38473b1..427fc10 100644
--- a/libgupnp-av/gupnp-didl-lite-resource.c
+++ b/libgupnp-av/gupnp-didl-lite-resource.c
@@ -1932,7 +1932,7 @@ gupnp_didl_lite_resource_set_subtitle_file_type
         if (type == NULL)
                 xmlUnsetNsProp (priv->xml_node,
                                 priv->pv_ns,
-                                (unsigned char *) "subtitleFileUri");
+                                (unsigned char *) "subtitleFileType");
         else {
                 av_xml_util_get_ns (priv->xml_doc->doc,
                                     GUPNP_XML_NAMESPACE_PV,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]