[FFmpeg-devel] [PATCH] avformat/webmdashenc: fix on-demand profile string
Hendrik Leppkes
h.leppkes at gmail.com
Fri Apr 8 09:14:32 EEST 2022
On Fri, Apr 8, 2022 at 2:58 AM James Almer <jamrial at gmail.com> wrote:
>
> Fixes ticket #9596
>
> Signed-off-by: James Almer <jamrial at gmail.com>
> ---
> libavformat/webmdashenc.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/libavformat/webmdashenc.c b/libavformat/webmdashenc.c
> index a942c484e9..f8f2274556 100644
> --- a/libavformat/webmdashenc.c
> +++ b/libavformat/webmdashenc.c
> @@ -95,7 +95,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);
> --
> 2.35.1
This needs FATE updates now, got a bit yellow around there.
- Hendrik
More information about the ffmpeg-devel
mailing list