diff options
author | James Almer <jamrial@gmail.com> | 2022-04-07 21:57:42 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2022-04-08 00:07:11 -0300 |
commit | 497c32486c1b5f4d03b540a01e08528aa9990216 (patch) | |
tree | a96bd87521d541b1a44e130effea994ef8fab288 | |
parent | e681f720f8394b66469f500a0a2aedadc1b01374 (diff) | |
download | ffmpeg-497c32486c1b5f4d03b540a01e08528aa9990216.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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/webmdashenc.c b/libavformat/webmdashenc.c index a9edcf73b8..10ae63ae25 100644 --- a/libavformat/webmdashenc.c +++ b/libavformat/webmdashenc.c @@ -92,7 +92,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); |