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 28D46406C8 for ; Sun, 27 Feb 2022 17:56:04 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id AB7BF68B12E; Sun, 27 Feb 2022 19:56:02 +0200 (EET) Received: from iq.passwd.hu (iq.passwd.hu [217.27.212.140]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id D9C6468B0BB for ; Sun, 27 Feb 2022 19:55:56 +0200 (EET) Received: from localhost (localhost [127.0.0.1]) by iq.passwd.hu (Postfix) with ESMTP id 0175EE6891 for ; Sun, 27 Feb 2022 18:55:57 +0100 (CET) X-Virus-Scanned: amavisd-new at passwd.hu Received: from iq.passwd.hu ([127.0.0.1]) by localhost (iq.passwd.hu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nYciPj8I59RR for ; Sun, 27 Feb 2022 18:55:55 +0100 (CET) Received: from iq (iq [217.27.212.140]) by iq.passwd.hu (Postfix) with ESMTPS id 93B11E67ED for ; Sun, 27 Feb 2022 18:55:54 +0100 (CET) Date: Sun, 27 Feb 2022 18:55:54 +0100 (CET) From: Marton Balint To: FFmpeg development discussions and patches In-Reply-To: Message-ID: References: <20220226193143.715424-1-onemda@gmail.com> <86c1a3b6-37c2-1e4f-10b3-bd3a4533128d@passwd.hu> MIME-Version: 1.0 Subject: Re: [FFmpeg-devel] [PATCH 1/2] avformat/mpegtsenc: fix muxing pcm-bluray 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-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: On Sun, 27 Feb 2022, Paul B Mahol wrote: > On Sun, Feb 27, 2022 at 6:47 PM Marton Balint wrote: > >> >> >> On Sat, 26 Feb 2022, Paul B Mahol wrote: >> >>> Signed-off-by: Paul B Mahol >>> --- >>> libavformat/mpegtsenc.c | 4 ++++ >>> 1 file changed, 4 insertions(+) >>> >>> diff --git a/libavformat/mpegtsenc.c b/libavformat/mpegtsenc.c >>> index 971b3f55d8..48cd54c770 100644 >>> --- a/libavformat/mpegtsenc.c >>> +++ b/libavformat/mpegtsenc.c >>> @@ -2097,6 +2097,10 @@ static int >> mpegts_write_packet_internal(AVFormatContext *s, AVPacket *pkt) >>> ts_st->dvb_ac3_desc = dvb_ac3_desc; >>> } >>> av_free(hdr); >>> + } else if (st->codecpar->codec_id == AV_CODEC_ID_PCM_BLURAY) { >>> + mpegts_write_pes(s, st, buf, size, pts, dts, >>> + pkt->flags & AV_PKT_FLAG_KEY, stream_id); >>> + return 0; >>> } >> >> This fixes what exactly? >> > > -c copy for .m2ts file that have pcm_bluray audio codec. Ok, but what happens without the patch? Thanks, Marton _______________________________________________ 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".