mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-03-23 04:24:35 +02:00
avformat/webmdashenc: fix on-demand profile string
Fixes ticket #9596 Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
3e186148ca
commit
487b49d8f2
@ -95,7 +95,7 @@ static int write_header(AVFormatContext *s)
|
|||||||
}
|
}
|
||||||
avio_printf(pb, " minBufferTime=\"PT%gS\"\n", min_buffer_time);
|
avio_printf(pb, " minBufferTime=\"PT%gS\"\n", min_buffer_time);
|
||||||
avio_printf(pb, " profiles=\"%s\"%s",
|
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");
|
w->is_live ? "\n" : ">\n");
|
||||||
if (w->is_live) {
|
if (w->is_live) {
|
||||||
time_t local_time = time(NULL);
|
time_t local_time = time(NULL);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user