This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

The following commit(s) were added to refs/heads/master by this push:
     new 7dc6b582c0 avformat/dashenc: omit the obsolete MPD schema hint
7dc6b582c0 is described below

commit 7dc6b582c018fd48e661202788afc1d3311c0ab9
Author:     Baptiste Coudurier <[email protected]>
AuthorDate: Fri Nov 13 21:25:08 2026 -0800
Commit:     Baptiste Coudurier <[email protected]>
CommitDate: Wed Nov 18 19:38:45 2026 +0000

    avformat/dashenc: omit the obsolete MPD schema hint
    
    ISO/IEC 23009-1 defines the MPD namespace as urn:mpeg:dash:schema:mpd:2011. 
XML Schema Part 1 ยง4.3.2 defines xsi:schemaLocation as an optional namespace 
and schema-location hint. Omit the hint that pairs a different namespace with 
an older schema.
---
 libavformat/dashenc.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c
index 36f39bd083..219b200d58 100644
--- a/libavformat/dashenc.c
+++ b/libavformat/dashenc.c
@@ -1007,10 +1007,8 @@ static int write_manifest(AVFormatContext *s, int final)
     }
     out = c->mpd_out;
     avio_printf(out, "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n");
-    avio_printf(out, "<MPD 
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n";
-                "\txmlns=\"urn:mpeg:dash:schema:mpd:2011\"\n"
+    avio_printf(out, "<MPD xmlns=\"urn:mpeg:dash:schema:mpd:2011\"\n"
                 "\txmlns:xlink=\"http://www.w3.org/1999/xlink\"\n";
-                "\txsi:schemaLocation=\"urn:mpeg:DASH:schema:MPD:2011 
http://standards.iso.org/ittf/PubliclyAvailableStandards/MPEG-DASH_schema_files/DASH-MPD.xsd\"\n";
                 "\tprofiles=\"");
     if (c->profile & MPD_PROFILE_DASH)
          avio_printf(out, "%s%s", "urn:mpeg:dash:profile:isoff-live:2011", 
c->profile & MPD_PROFILE_DVB ? "," : "\"\n");

-- 
To stop receiving notification emails like this one, please contact
[email protected].
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to