aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2022-04-07 21:57:42 -0300
committerJames Almer <jamrial@gmail.com>2022-04-08 00:16:08 -0300
commitad26796f4e24ee49eba17852c12f1941dd82bfd3 (patch)
treefdea29b9c4a5167d862edf559a592b8fe83129e2
parentaa3b2c3883480f5e31382d5f9ce4f32cc6c5ec5a (diff)
downloadffmpeg-ad26796f4e24ee49eba17852c12f1941dd82bfd3.tar.gz
avformat/webmdashenc: fix on-demand profile string
Fixes ticket #9596 Signed-off-by: James Almer <jamrial@gmail.com> (cherry picked from commit 487b49d8f2e1e81dce86230fc957ca2ee9de00ee)
-rw-r--r--libavformat/webmdashenc.c2
1 files changed, 1 insertions, 1 deletions
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);