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

James Almer git at videolan.org
Fri Apr 8 06:09:37 EEST 2022


ffmpeg | branch: release/4.2 | James Almer <jamrial at gmail.com> | Thu Apr  7 21:57:42 2022 -0300| [d36f0ff69ac2d27b97ed1e75faa88a2a3b4cfa40] | 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=d36f0ff69ac2d27b97ed1e75faa88a2a3b4cfa40
---

 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