From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.ffmpeg.org (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTPS id E67E34EEE1 for ; Fri, 13 Jun 2025 21:05:56 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id DA92C68C5FD; Sat, 14 Jun 2025 00:05:52 +0300 (EEST) Received: from iq.passwd.hu (iq.passwd.hu [217.27.212.140]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id E903268BD47 for ; Sat, 14 Jun 2025 00:05:45 +0300 (EEST) Received: from localhost (localhost [127.0.0.1]) by iq.passwd.hu (Postfix) with ESMTP id A9D9DEABC8 for ; Fri, 13 Jun 2025 23:02:48 +0200 (CEST) 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 IvCSwb3VKn74 for ; Fri, 13 Jun 2025 23:02:45 +0200 (CEST) Received: from iq (iq [217.27.212.140]) by iq.passwd.hu (Postfix) with ESMTPS id 9990EEAAA4 for ; Fri, 13 Jun 2025 23:02:45 +0200 (CEST) Date: Fri, 13 Jun 2025 23:02:45 +0200 (CEST) From: Marton Balint To: FFmpeg development discussions and patches In-Reply-To: <58988164f2fec46fc346b843c08f34ec3c33b3c4.1749835195.git.ffmpegagent@gmail.com> Message-ID: References: <58988164f2fec46fc346b843c08f34ec3c33b3c4.1749835195.git.ffmpegagent@gmail.com> MIME-Version: 1.0 Subject: Re: [FFmpeg-devel] [PATCH 1/3] avformat/hlsenc: Log information about segments written 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 Fri, 13 Jun 2025, softworkz wrote: > From: softworkz > > Signed-off-by: softworkz > --- > libavformat/hlsenc.c | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c > index a93d35ab75..a3e523a5df 100644 > --- a/libavformat/hlsenc.c > +++ b/libavformat/hlsenc.c > @@ -2703,6 +2703,12 @@ static int hls_write_packet(AVFormatContext *s, AVPacket *pkt) > if (ret < 0) > return ret; > > + if (oc->url[0]) { > + av_log(s, AV_LOG_VERBOSE, "SegmentComplete=%s:%d Index=%d StartPts=%"PRId64" EndPts=%"PRId64" Duration=%f filename=%s\n", > + av_get_media_type_string(vs->streams[stream_index]->codecpar->codec_type), > + stream_index, vs->number, vs->start_pts, vs->end_pts, vs->duration, av_basename(oc->url)); snake_case consistently please here and in the following patches. Thanks, Marton > + } > + > old_filename = av_strdup(oc->url); > if (!old_filename) { > return AVERROR(ENOMEM); > -- > ffmpeg-codebot > > _______________________________________________ > 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".