From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id 4AA0B42DFE for ; Thu, 13 Jan 2022 02:24:29 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id DE20568B407; Thu, 13 Jan 2022 03:59:04 +0200 (EET) Received: from mail-qk1-f177.google.com (mail-qk1-f177.google.com [209.85.222.177]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id A009868B3FA for ; Thu, 13 Jan 2022 03:59:02 +0200 (EET) Received: by mail-qk1-f177.google.com with SMTP id g2so5612947qkp.1 for ; Wed, 12 Jan 2022 17:59:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=iDAtLZXInWyI53mIcCTVsxxr6OcA0837kK0yaRx8ggw=; b=p/s83sp+RW4VQOOtStxkg3VKWxZzgB8DyutDK5Q/fAnUKzjGI/hZYP6U8YnTwhWegq 46g5gEkBiGXopuBBOK7COjbv5ZmAKgROXIhtXAXYn9yMQv0q180xVqZ0+KyxEKB/SkVu UCEF49rFSL4nw19JBFFPDytMn5ujUftx7URnz0MhMDpSygYb0bIvQEScrImCHnqoU2DO VKNNSCcmaeG3nbizDiPrfauwhsJw0r8nqyyfsch9kdJkD5mgu7xbL4TZtln6nzhkl3hu UB6Z8AI40A/fsyngY4hexmwYdV3Y2VaYQuz8APGYm9UlX5pk2NQ81ZPdUpj4z1Z47Qjs UCBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=iDAtLZXInWyI53mIcCTVsxxr6OcA0837kK0yaRx8ggw=; b=xEhZDeWHIZQ+sTJgS968lUey9Qk4dS1vnVl4QogKoqzJdDgzH+kbS1C/AYJwPqt++d JsLEZ/0qHENrBCi4ISuIWfZdTFbU4v7/Y1Vv8IQOD1SlWwLoTHBfIXD1XkYuwcYVoxp6 lGn/1tIoDZMSpmTwMiG2LbDUl5p3TRv4tdxd+yQBdmf6SLM00j1NcUhoS0kGWWEgehkG 6tNktfy17lCtd8Jvamr8BoqEKYplPc3IC5oG/OZCcr85vBN8siV9goipqOiB+4ecI0uA 14n8MgYWl0wAh4empzFsiqnCTbWr26sbpyX916PBUXGbPhxlSqGhbu7JkYjp25lr7FZB 8Kxw== X-Gm-Message-State: AOAM532nzhul1XysTnvJfNUkibMNn7pTUoWrl+bYnk1SWPoyhMQPKMdO ALeHgS6aqaijXJJB6mPrhmmSGE60OHo= X-Google-Smtp-Source: ABdhPJwgVEMvVUHp8jbCDMhU31UNU2wiZzJUEJnTRb+dpoYgHE68T9i2iUOsKCh6b+WebBriw+55SA== X-Received: by 2002:a37:274d:: with SMTP id n74mr1864780qkn.185.1642039141288; Wed, 12 Jan 2022 17:59:01 -0800 (PST) Received: from localhost.localdomain ([186.136.131.95]) by smtp.gmail.com with ESMTPSA id u19sm893081qke.1.2022.01.12.17.59.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jan 2022 17:59:00 -0800 (PST) From: James Almer To: ffmpeg-devel@ffmpeg.org Date: Wed, 12 Jan 2022 22:58:05 -0300 Message-Id: <20220113015806.519-30-jamrial@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220113015101.4-1-jamrial@gmail.com> References: <20220113015101.4-1-jamrial@gmail.com> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 148/281] smoothstreaming: convert to new channel layout API X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: From: Vittorio Giovara Signed-off-by: Vittorio Giovara Signed-off-by: James Almer --- libavformat/smoothstreamingenc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libavformat/smoothstreamingenc.c b/libavformat/smoothstreamingenc.c index a0ea5b8fa8..c67f0cba43 100644 --- a/libavformat/smoothstreamingenc.c +++ b/libavformat/smoothstreamingenc.c @@ -267,7 +267,9 @@ static int write_manifest(AVFormatContext *s, int final) if (s->streams[i]->codecpar->codec_type != AVMEDIA_TYPE_AUDIO) continue; last = i; - avio_printf(out, "\n", index, s->streams[i]->codecpar->bit_rate, os->fourcc, s->streams[i]->codecpar->sample_rate, s->streams[i]->codecpar->channels, os->packet_size, os->audio_tag, os->private_str); + avio_printf(out, "\n", + index, s->streams[i]->codecpar->bit_rate, os->fourcc, s->streams[i]->codecpar->sample_rate, + s->streams[i]->codecpar->ch_layout.nb_channels, os->packet_size, os->audio_tag, os->private_str); index++; } output_chunk_list(&c->streams[last], out, final, c->lookahead_count, c->window_size); -- 2.34.1 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".