GNOME Bugzilla – Bug 451970
Subparse requires HTML parser
Last modified: 2007-08-30 06:58:13 UTC
There is no ./configure swtich to avoid compiling the subparse plug-in, and with a non-HTML libxml2, compiling subparse would fail with: samiparse.c:48: error: syntax error before "htmlParserCtxtPtr" samiparse.c:48: warning: no semicolon at end of struct or union samiparse.c:54: error: syntax error before '}' token samiparse.c: In function `sami_context_push_state': samiparse.c:65: error: dereferencing pointer to incomplete type samiparse.c: In function `sami_context_pop_state': samiparse.c:72: error: dereferencing pointer to incomplete type ...and so on.
Created attachment 90821 [details] [review] Use XML instead of HTML parser
Somebody please test the patch because I have no means of using subparse in my environment.
Sami subtitle format is HTML, not XML. Just check libxml2 whether support html and disable samiparse feature.
Created attachment 91869 [details] [review] Check for HTML support in libxml2
2007-08-30 Stefan Kost <ensonic@users.sf.net> Patch by: Daniel Díaz <yosoy@danieldiaz.org> * configure.ac: * gst/Makefile.am: Check if libxml provides HTML parser which subparse needs. Fixes #451970.