From patchwork Thu Apr 16 04:26:08 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: James Almer X-Patchwork-Id: 18994 Return-Path: X-Original-To: patchwork@ffaux-bg.ffmpeg.org Delivered-To: patchwork@ffaux-bg.ffmpeg.org Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by ffaux.localdomain (Postfix) with ESMTP id 33E1944A808 for ; Thu, 16 Apr 2020 07:28:20 +0300 (EEST) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 17D7D68BBB4; Thu, 16 Apr 2020 07:28:20 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-qt1-f195.google.com (mail-qt1-f195.google.com [209.85.160.195]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 9B7F068BBB1 for ; Thu, 16 Apr 2020 07:28:10 +0300 (EEST) Received: by mail-qt1-f195.google.com with SMTP id b10so15381508qtt.9 for ; Wed, 15 Apr 2020 21:28:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=AQr0YNxeQZaodyxwY4Jt+zW/5g+HYKXoGLqpn+GbPy8=; b=duGwtUx+0LeNJybb/lyupMktiu1WM5L2pTAlCFm2I50s7u18Tc1LRs4JO8wnWKPain xqkYLcJHtFFNdF4nvf6GK7BGjzTfAjvf4mpMMvhuIsvSxoJLGLOYlq+oOzSrlQxC0xD1 LMW7WwIv9x9RoSRi4x2oXuK1eaTerRYIEOcNv+I9D72cY/rO3kza5voO++5tz1YG2/DR /eyTzryix3FLcwwGoPXZ58X67teq7NW9fTo4eoDVGoXz6pkaQXWRNaSWjMdq5/5GcCOP k0MqfsT8vbwX+w0m9vB8B6FEX/6VlYmHUl5fze1YGL48y2juzlzVz2lRo6ChuyaOsp2V fyCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=AQr0YNxeQZaodyxwY4Jt+zW/5g+HYKXoGLqpn+GbPy8=; b=oaEKWlCRupjYbFBGL2Knta20ejeKPUIMZlYJ3M58tNV8n8o1srHzZ+H015+59i9goy /dJXTXjbF1WFTyiMVRjz/D+m0EnCoznQJRGheWmFSQYvBmHnGfkm2AFWAPgFtFiVxprN mYtMkzPFavlnHe4S0+Yq35sn2/GiEJ4HIPSaLtFEHu3oNuEfGrzzWMZA8p+fLYVBRCg5 vFruhvjS3j/OgvHREgrFq6kMJmi2qz4doAzKCXDKwJsa1EWtd0CqATVcSa823ILpg78O Y6uTZsIFE3ApploY3QIrdW7sleB6wxOskq1VHLq2r5O6QXdM9IexPdaEo7JsDu1RzgX9 j+pg== X-Gm-Message-State: AGi0PubRXOogFguCfgEf/5hlC/Vp7cBgoJiO/1T6ji8CYiOUnVmQcZu7 YM1TxCY16uSsjBM3IQDpCSuCGvNb X-Google-Smtp-Source: APiQypKyjhUVHgCTbmbIH3KyljfN6zlTBhziSEtltNOHp2corJhQKld3cQTsxYTG1q9yRMals+VExw== X-Received: by 2002:aed:250c:: with SMTP id v12mr23456126qtc.351.1587011289254; Wed, 15 Apr 2020 21:28:09 -0700 (PDT) Received: from localhost.localdomain ([191.83.216.57]) by smtp.gmail.com with ESMTPSA id u24sm6198966qkk.84.2020.04.15.21.28.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Apr 2020 21:28:08 -0700 (PDT) From: James Almer To: ffmpeg-devel@ffmpeg.org Date: Thu, 16 Apr 2020 01:26:08 -0300 Message-Id: <20200416042608.9587-4-jamrial@gmail.com> X-Mailer: git-send-email 2.26.0 In-Reply-To: <20200416042608.9587-1-jamrial@gmail.com> References: <20200416042608.9587-1-jamrial@gmail.com> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 4/4] avformat/dashenc: add missing startWithSap attribute to AdaptationSet elements 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 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Signed-off-by: James Almer --- libavformat/dashenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c index 86329b7f9a..b08253618d 100644 --- a/libavformat/dashenc.c +++ b/libavformat/dashenc.c @@ -806,7 +806,7 @@ static int write_adaptation_set(AVFormatContext *s, AVIOContext *out, int as_ind AVDictionaryEntry *lang, *role; int i; - avio_printf(out, "\t\tid, as->media_type == AVMEDIA_TYPE_VIDEO ? "video" : "audio"); if (as->media_type == AVMEDIA_TYPE_VIDEO && as->max_frame_rate.num && !as->ambiguous_frame_rate && av_cmp_q(as->min_frame_rate, as->max_frame_rate) < 0) avio_printf(out, " maxFrameRate=\"%d/%d\"", as->max_frame_rate.num, as->max_frame_rate.den);