dash: mpdparser: do not cleanup xml lib too early
authorThiago Santos <thiago.sousa.santos@collabora.com>
Fri, 22 Feb 2013 19:46:22 +0000 (16:46 -0300)
committerThiago Santos <thiago.sousa.santos@collabora.com>
Wed, 8 May 2013 21:14:42 +0000 (18:14 -0300)
The xmlCleanupParser function seems to cleanup all statically
allocated libxml variables, making it unusable. We can't guarantee
that dashdemux won't need it anymore, so better not call it.

ext/dash/gstmpdparser.c

index 3f9e013..2fab853 100644 (file)
@@ -2676,10 +2676,6 @@ gst_mpd_parse (GstMpdClient * client, const gchar * data, gint size)
       }
       /* free the document */
       xmlFreeDoc (doc);
-      /* cleanup function for the XML library */
-      xmlCleanupParser ();
-      /* dump XML library memory for debugging */
-      xmlMemoryDump ();
     }
     GST_MPD_CLIENT_UNLOCK (client);