[rygel] media-export: Drop RECOVER flag from DVD parser



commit 974c573a5fd80811d954ba05cacbc6caecbfd181
Author: Jens Georg <mail jensge org>
Date:   Sat Oct 5 09:35:37 2019 +0200

    media-export: Drop RECOVER flag from DVD parser
    
    Apparently that should not be used normally. Also as we generate that XML, whe
    should assume well-formedness. If it isn't, we can just fail.
    
    Fixes #140

 src/plugins/media-export/rygel-media-export-dvd-container.vala | 1 -
 src/plugins/media-export/rygel-media-export-dvd-parser.vala    | 1 -
 2 files changed, 2 deletions(-)
---
diff --git a/src/plugins/media-export/rygel-media-export-dvd-container.vala 
b/src/plugins/media-export/rygel-media-export-dvd-container.vala
index 837e25f2..17eb15de 100644
--- a/src/plugins/media-export/rygel-media-export-dvd-container.vala
+++ b/src/plugins/media-export/rygel-media-export-dvd-container.vala
@@ -53,7 +53,6 @@ internal class Rygel.MediaExport.DVDContainer : SimpleContainer, UpdatableObject
                                         Xml.ParserOption.NOERROR |
                                         Xml.ParserOption.NOWARNING |
                                         Xml.ParserOption.NOBLANKS |
-                                        Xml.ParserOption.RECOVER |
                                         Xml.ParserOption.NONET);
         this.doc = new GUPnP.XMLDoc (doc);
 
diff --git a/src/plugins/media-export/rygel-media-export-dvd-parser.vala 
b/src/plugins/media-export/rygel-media-export-dvd-parser.vala
index eb2baa99..d9bb3928 100644
--- a/src/plugins/media-export/rygel-media-export-dvd-parser.vala
+++ b/src/plugins/media-export/rygel-media-export-dvd-parser.vala
@@ -178,7 +178,6 @@ internal class Rygel.MediaExport.DVDParser : Extractor {
                                      null,
                                      Xml.ParserOption.NOERROR |
                                      Xml.ParserOption.NOWARNING |
-                                     Xml.ParserOption.RECOVER |
                                      Xml.ParserOption.NONET);
     }
 }


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