[FFmpeg-devel] [PATCH] examples/decoding_encoding: store temporary files in current dir
michaelni at gmx.at
Fri Aug 24 16:31:43 CEST 2012
On Fri, Aug 24, 2012 at 12:22:53PM +0200, Stefano Sabatini wrote:
> On date Friday 2012-08-24 03:35:15 +0200, Michael Niedermayer encoded:
> > On Thu, Aug 23, 2012 at 08:18:17PM +0200, Stefano Sabatini wrote:
> > > Do not clutter the temporary directory with files, also "/tmp" is not
> > > always available, e.g. in Windows.
> > the current directory is maybe not better, it might be read only
> > for example ...
> On the other hand if not readable, then the program won't be compilable.
compilation and execution could happen at different times, with
different current directories or by different users.
> > and /tmp gets cleaned, the current directory likely wont
> But will fail on Windows and other OSes with no "/tmp", also the user
> won't have to wonder where the output files are (having them in the
> current dir looks to have a so much better "least surprise factor").
> I could add a rule for removing test output files when doing make
thats surely a good idea ...
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Avoid a single point of failure, be that a person or equipment.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: Digital signature
More information about the ffmpeg-devel