[FFmpeg-devel] [PATCH 1/1] fftools/ffmpeg_opt: Exit with non-zero status when destination exists
Leo Izen
leo.izen at gmail.com
Thu Feb 6 05:59:51 EET 2025
On 2/5/25 11:14 AM, Marth64 wrote:
>> behaved as per their reply.
> Could it make sense to only return the AVERROR(EEXIST) if -nostdin is
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)
- Leo Izen (Traneptora)
More information about the ffmpeg-devel
mailing list