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:05:07 -0300
commit2db2bdabbd94c3c28492c554a4291e0542660693 (patch)
tree5b31f9eac6b9613ecbd72aa99cc52f0aa4100ec4
parent0d487be837872df255ef174399b9140eeaa9152a (diff)
downloadffmpeg-2db2bdabbd94c3c28492c554a4291e0542660693.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 cf69bd35b1..384318708e 100644
--- a/libavformat/webmdashenc.c
+++ b/libavformat/webmdashenc.c
@@ -93,7 +93,7 @@ static int write_header(AVFormatContext *s)
}
avio_printf(pb, " minBufferTime=\"PT%gS\"\n", min_buffer_time);
avio_printf(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);