From patchwork Thu Jul 26 13:22:21 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonio Morell X-Patchwork-Id: 9810 Delivered-To: ffmpegpatchwork@gmail.com Received: by 2002:a02:104:0:0:0:0:0 with SMTP id c4-v6csp444861jad; Thu, 26 Jul 2018 06:22:50 -0700 (PDT) X-Google-Smtp-Source: AAOMgpelUv46NqSnMwgX9PUFgkwG32tuo8h8TyXKgxsw6YPRqfm6L5mX/S7Bvnuuh2xbuVMogem7 X-Received: by 2002:adf:afd3:: with SMTP id y19-v6mr1738231wrd.176.1532611369915; Thu, 26 Jul 2018 06:22:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532611369; cv=none; d=google.com; s=arc-20160816; b=CHsxZyb1PbgOO3Iw3aY6roqDUW/9x90nItqDmh6BkhThZ2IqUNrBpxRfgLSAdERXn4 hfDhXVOZWydzoLepy0Ed6S6g3+Nkpaj4P5FhUfJ8nnJt+aF/jkr4gi3RCQEkFHFn7/Vn XR62EOlppn33fvwjFFADv9CLP4IwCp6Gku+tZ1yU7HT1NZNU8qmrpOTHv+XysaflvP+o zpVtfi0WfOc0x3bUnDWXMlQozehQ+zmuP7jSBK/j0krhmYIi8YjNyAu+C0A6JdzrN1P8 4EtW86Y7ID+7HLgm24TZJKKXTbOYX1VFbe5TH4oKkuUjXSzxJUD866skMWC15PD98KUB EI0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:reply-to :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature:delivered-to :arc-authentication-results; bh=m3IFPORBIYRyRIZ17Pj1Od4HCWPzhbqj5MtoduvKIVI=; b=Z9ZmintDdbWQV0NsYTWzLO09NXhJUbEvhcYNJtrodtN+M2WmndLdx9m3Gcw/3DdJdU pibrd3/6gc4GXJdKfitBMXB9k9TUgWznDI4TazGHsZR+z33Woh9AT1aF5MfSKnQx/KCu 5dubcqKO4tX3njBX0dQngfeLZX9/Z1hi9o6MHO9/JLLd+jkjiCbmvYcNQDCPO8G4eiI8 jMU7wzjKk/pPlnUWAqhnDNzwgQ7OrgJeoXRqWI67Kc8tPdCZa7DywYOYohyUJkfw4nMM MalMSSypowfWjPvgBjw6GiB0Y+emkw9d+i1fMrbM47JAw14PPKcm82EybdK824fqfDGc ejJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@system73-com.20150623.gappssmtp.com header.s=20150623 header.b=teELGeay; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id z187-v6si1172271wmb.180.2018.07.26.06.22.49; Thu, 26 Jul 2018 06:22:49 -0700 (PDT) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@system73-com.20150623.gappssmtp.com header.s=20150623 header.b=teELGeay; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id D008A68A426; Thu, 26 Jul 2018 16:22:32 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-wm0-f44.google.com (mail-wm0-f44.google.com [74.125.82.44]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 29CF1689C1E for ; Thu, 26 Jul 2018 16:22:26 +0300 (EEST) Received: by mail-wm0-f44.google.com with SMTP id t25-v6so1986516wmi.3 for ; Thu, 26 Jul 2018 06:22:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=system73-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=TBoDCEmBKtRN5d/2cPaaEw79+KMbKbKKRAZVv7tjVoQ=; b=teELGeay7uAA8CYYpIJZ29fcPMJEw89iZZwCS5kTqA2mBokjREwtYEDLhzah8Ode3f GcUZ8OfXfmbLJdaOdZi0VWVeEMuDM+VZ36/GRHbOirmuObSxIBo7V4oRGckzHXAU5Jhm f34aQkOiAjw6zfLAtm4fl0t4Avv8Gs/r4LExwlOnQtjIgSM6+K/3uE21MytpKOJPpvFa pVDMeA/JAc7+wNAQBKAH1yavb3SC5o3N2yIfHyuFDyA9bIuT3lM7yVdI1KQjDvnsJEX7 oef1sRe1NPc7+38MnxU8wyZ2tX3Ye2n6oFw5TalvUJsatV/y/1czpRjNh5VGWi1xbQu9 T2tg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=TBoDCEmBKtRN5d/2cPaaEw79+KMbKbKKRAZVv7tjVoQ=; b=oJ9Urv0ZLewe4KdTglB283AjhqNtMIWzSyC5nep2WH+Xm56c9hJie5g3efbrifY209 +h/CvoX4ie1Ox3M4cwN34Ha0oj7maxIjO7+EPpLycvnssuSZ2iRo5rK35F2Vicl3BQ0s iT9/xHfU5rkb0tOK2ySclsrlarnjcax64AnYKHPXT57qIapmCC/kw9iCPGNfMQ/guwRy 9yR5T4FIUunw1Xa6cIppaNrlgduFqVWbynRkFBuHdG4eFarIIIAUyaAf2C0wE5nGizqd 9lhbsQoJl5YSb97MjOY/ICnJYDcIzo9yhigXjXdq+LZBGxvHHuLYUUclhMrhIPGXZ4PJ nCWQ== X-Gm-Message-State: AOUpUlGeoMa7Oqxqhwzk3YuhvzYijkfUB9xg0SKFi8dgR9BP5UaHlBzK wbufcNOpND1GaV/MgNAFx2UmzoX2gz4= X-Received: by 2002:a1c:d750:: with SMTP id o77-v6mr1564789wmg.67.1532611360319; Thu, 26 Jul 2018 06:22:40 -0700 (PDT) Received: from re-antonio-morell.engineering.lalaguna.system73.lan ([195.55.111.130]) by smtp.gmail.com with ESMTPSA id b10-v6sm1884951wrp.49.2018.07.26.06.22.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 26 Jul 2018 06:22:39 -0700 (PDT) From: Antonio Morell To: ffmpeg-devel@ffmpeg.org Date: Thu, 26 Jul 2018 14:22:21 +0100 Message-Id: <20180726132221.48602-2-antonio.morell@system73.com> X-Mailer: git-send-email 2.15.2 (Apple Git-101.1) In-Reply-To: <20180726132221.48602-1-antonio.morell@system73.com> References: <20180726132221.48602-1-antonio.morell@system73.com> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 1/1] libavformat/dashenc: Fix relative URI of HLS master playlist X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Cc: Antonio Morell Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" --- libavformat/dashenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c index a9b8b1d4f6..ae57fd5493 100644 --- a/libavformat/dashenc.c +++ b/libavformat/dashenc.c @@ -868,7 +868,7 @@ static int write_manifest(AVFormatContext *s, int final) int max_audio_bitrate = 0; if (*c->dirname) - snprintf(filename_hls, sizeof(filename_hls), "%s/master.m3u8", c->dirname); + snprintf(filename_hls, sizeof(filename_hls), "%smaster.m3u8", c->dirname); else snprintf(filename_hls, sizeof(filename_hls), "master.m3u8");