[FFmpeg-devel] verbiage

Michael Niedermayer michaelni at gmx.at
Thu Jun 25 18:46:26 CEST 2015


On Thu, Jun 25, 2015 at 12:26:16AM -0600, Roger Pack wrote:
> On 6/24/15, compn <tempn at mi.rr.com> wrote:
> > On Wed, 24 Jun 2015 04:30:10 -0600
> > Roger Pack <rogerdpack2 at gmail.com> wrote:
> >
> >> Received signal %d: terminating.
> >>
> >> Today sounds as if the process is "hard exiting" (like SIGKILL or some
> >> odd) when it might be as benign as a ctrl+c that is used as a normal
> >> shutdown process.
> >>
> >> Perhaps it could be made to be something like:
> >>
> >> Shutting down because received signal %d
> >
> > ffmpeg exiting normally, received signal %d
> >
> > ?
> 
> I like it. Attached is an example FWIW.
> -roger-

>  ffmpeg.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 6b143283e1d9a0e5bb87fe2d5935fb0c7c373314  0003-modify-exit-message-when-signaled.patch
> From 279af08c9f916c444454c7445eca32f9ab579599 Mon Sep 17 00:00:00 2001
> From: rogerdpack <rogerpack2005 at gmail.com>
> Date: Thu, 25 Jun 2015 00:24:31 -0600
> Subject: [PATCH 3/3] modify exit message when signaled
> 
> Signed-off-by: rogerdpack <rogerpack2005 at gmail.com>
> ---
>  ffmpeg.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/ffmpeg.c b/ffmpeg.c
> index f5a16ae..1b21e24 100644
> --- a/ffmpeg.c
> +++ b/ffmpeg.c
> @@ -564,7 +564,7 @@ static void ffmpeg_cleanup(int ret)
>      avformat_network_deinit();
>  
>      if (received_sigterm) {
> -        av_log(NULL, AV_LOG_INFO, "Received signal %d: terminating.\n",
> +        av_log(NULL, AV_LOG_INFO, "Exiting normally, received signal %d.\n",


applied

thanks

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Opposition brings concord. Out of discord comes the fairest harmony.
-- Heraclitus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150625/7ea6112b/attachment.asc>


More information about the ffmpeg-devel mailing list