PR #26051 opened by Baptiste Coudurier (bcoudurier) URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/26051 Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/26051.patch
The declared schema location names a different namespace and points to a schema that rejects ServiceDescription. The schema hint is optional. Keep the DASH namespace and let validators select the schema for the presentation. >From 956938a07adbcb833259bc9cff01bde23dcf8409 Mon Sep 17 00:00:00 2001 From: Baptiste Coudurier <[email protected]> Date: Fri, 13 Nov 2026 21:14:34 -0800 Subject: [PATCH] avformat/dashenc: omit the obsolete MPD schema hint The declared schema location names a different namespace and points to a schema that rejects ServiceDescription. The schema hint is optional. Keep the DASH namespace and let validators select the schema for the presentation. --- libavformat/dashenc.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c index 36f39bd083a..219b200d585 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"); -- 2.54.0 _______________________________________________ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]
