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 0FDED406C3 for ; Sun, 27 Feb 2022 17:49:55 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 4F4D868B113; Sun, 27 Feb 2022 19:49:53 +0200 (EET) Received: from mail-yb1-f171.google.com (mail-yb1-f171.google.com [209.85.219.171]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 6F52F68980E for ; Sun, 27 Feb 2022 19:49:47 +0200 (EET) Received: by mail-yb1-f171.google.com with SMTP id g6so16102625ybe.12 for ; Sun, 27 Feb 2022 09:49:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=96JquIFbsfcs0q4CkBzqkfD/beGO40/FZrEwIiPjblM=; b=IO6FvGW12YZHNABA/d58MnBPJD/HfFZgMcEzRjNFLlb56W+2uh4voIqLJBezLQvYwT BbRZC3QECoanWLiyZ8YZyjYkoxWUG/4NJc4O4l6gXfaQGudrOlhHmI3BiDOsaCFNMQ+f J+voBDwoz7aD/C0f2udswy0poYuV5fbwVOJ6S2ShU5K5xPPv2sjN8+DH1YqjHx6HSWTt 2Xekq/ep6tZqv2mGoSvPGG41V70ZKnTTYLFNC8uh+exqV5LBotEFOWdoJ2j5NEa6F9ah eiQggZDknpWAogpecmukwsT92iy+6kupNURRzYDRdR5aOBg8HbkImNGl5xHOK1Lx+LZ3 YYgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=96JquIFbsfcs0q4CkBzqkfD/beGO40/FZrEwIiPjblM=; b=un44mo9459nIcqN3K7RmTR6wHBhU54OpHj38u7w5xIjf5O14/0Z+PNb0rjgUbOvrCR fSMRbw6tV3xvYBuNYMZRYDe4cIUzARWCSgtYyce7rXAMYzYc1u8D02ZDMoDD044dhB9H nzPvqum6tYp6cHDVM0BOqqlr4nhVuEcVlZK7QhnF64uuSGEjtIR5qXeSx25qoDi/7PWM aOFads0CEi0vz/IpdyheWoUT6+qF/YW0JsAS9nGsucrUHHbfDgiY05hFOeIovpVvm5Es 8s06LCtbJ05xzy/zHGloiWcbACtUWkBAwXWDH7V8skQ+QgvFHW8zhI7pz+liREOLhoSQ L1fQ== X-Gm-Message-State: AOAM531EX2lsFE41/4b0KCwtGb7148go+eHmezIzAQ57tf8Cu1yA2n6I bWTyqfSu2pNifdDt4RHCSEeT+kMlLi6toxjawCSsxDK31ag= X-Google-Smtp-Source: ABdhPJzBd2Tr1rDuR1ll2HQaWIOagpnZMevko+2UtpId9Lt3RGgoO3GbQpsPidVhHUIwlEuyaPDwrPLRasRRKvjQ+10= X-Received: by 2002:a25:abb4:0:b0:625:5f2:5492 with SMTP id v49-20020a25abb4000000b0062505f25492mr16079022ybi.142.1645984186053; Sun, 27 Feb 2022 09:49:46 -0800 (PST) MIME-Version: 1.0 References: <20220226193143.715424-1-onemda@gmail.com> <86c1a3b6-37c2-1e4f-10b3-bd3a4533128d@passwd.hu> In-Reply-To: <86c1a3b6-37c2-1e4f-10b3-bd3a4533128d@passwd.hu> From: Paul B Mahol Date: Sun, 27 Feb 2022 18:51:14 +0100 Message-ID: To: FFmpeg development discussions and patches X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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-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: 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. > Thanks, > Marton > > > > > if (ts_st->payload_size && (ts_st->payload_size + size > > ts->pes_payload_size || > > -- > > 2.33.0 > > > > _______________________________________________ > > 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". > > > _______________________________________________ > 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". > _______________________________________________ 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".