[FFmpeg-cvslog] avformat/webmdashenc: fix on-demand profile string

James Almer git at videolan.org
Fri Apr 8 06:16:44 EEST 2022


ffmpeg | branch: release/4.1 | James Almer <jamrial at gmail.com> | Thu Apr  7 21:57:42 2022 -0300| [ad26796f4e24ee49eba17852c12f1941dd82bfd3] | committer: James Almer

avformat/webmdashenc: fix on-demand profile string

Fixes ticket #9596

Signed-off-by: James Almer <jamrial at gmail.com>
(cherry picked from commit 487b49d8f2e1e81dce86230fc957ca2ee9de00ee)

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ad26796f4e24ee49eba17852c12f1941dd82bfd3
---

 libavformat/webmdashenc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/webmdashenc.c b/libavformat/webmdashenc.c
index 542410f26b..3a2504795e 100644
--- a/libavformat/webmdashenc.c
+++ b/libavformat/webmdashenc.c
@@ -104,7 +104,7 @@ static int write_header(AVFormatContext *s)
     }
     avio_printf(s->pb, "  minBufferTime=\"PT%gS\"\n", min_buffer_time);
     avio_printf(s->pb, "  profiles=\"%s\"%s",
-                w->is_live ? "urn:mpeg:dash:profile:isoff-live:2011" : "urn:webm:dash:profile:webm-on-demand:2012",
+                w->is_live ? "urn:mpeg:dash:profile:isoff-live:2011" : "urn:mpeg:dash:profile:webm-on-demand:2012",
                 w->is_live ? "\n" : ">\n");
     if (w->is_live) {
         time_t local_time = time(NULL);



More information about the ffmpeg-cvslog mailing list