Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
From: Marth64 <marth64@proxyid.net>
To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
Subject: Re: [FFmpeg-devel] [PATCH 1/1] fftools/ffmpeg_opt: Exit with non-zero status when destination exists
Date: Thu, 6 Feb 2025 12:21:11 -0600
Message-ID: <CAAhd_PX1b2QsjXpPzUbR3L2dzwuTarFi15WFp3YMUtJ0cHte8w@mail.gmail.com> (raw)
In-Reply-To: <077b1289-8de9-4475-98a6-6808b9492efb@gmail.com>

Leo:
> If you do, you should consider not just -nostdin but also if reading
> from stdin like a pipe, e.g. ffmpeg -i - .... foo.mkv
> this will exit with success if foo.mkv exists without asking on stdin
> (as you'd expect it to not, cause it's reading from stdin)

Agreed, that sounds logical.
I'll look into it.
_______________________________________________
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".

      reply	other threads:[~2025-02-06 18:21 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20240712232334.87395-1-dabe@dabe.com>
2024-07-15 12:55 ` [FFmpeg-devel] [PATCH 0/1] Make "File exists" exit w/ non-zero status Dabrien 'Dabe' Murphy
     [not found] ` <20240712232334.87395-2-dabe@dabe.com>
2024-07-15 12:56   ` [FFmpeg-devel] [PATCH 1/1] fftools/ffmpeg_opt: Exit with non-zero status when destination exists Dabrien 'Dabe' Murphy
2024-07-15 13:25     ` Gyan Doshi
2024-07-16  4:10       ` Marth64
2024-07-16  5:07         ` Gyan Doshi
2025-02-05 16:14           ` Marth64
2025-02-06  3:59             ` Leo Izen
2025-02-06 18:21               ` Marth64 [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAAhd_PX1b2QsjXpPzUbR3L2dzwuTarFi15WFp3YMUtJ0cHte8w@mail.gmail.com \
    --to=marth64@proxyid.net \
    --cc=ffmpeg-devel@ffmpeg.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
		ffmpegdev@gitmailbox.com
	public-inbox-index ffmpegdev

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git