[FFmpeg-devel] [PATCH] examples/decoding_encoding: store temporary files in current dir
Stefano Sabatini
stefasab at gmail.com
Fri Aug 24 17:01:16 CEST 2012
On date Friday 2012-08-24 16:31:43 +0200, Michael Niedermayer encoded:
> 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
> > clean.
>
> thats surely a good idea ...
Updated.
--
FFmpeg = Faithless and Frenzy Mastodontic Portentous EnGraver
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0008-examples-decoding_encoding-store-temporary-files-in-.patch
Type: text/x-diff
Size: 2205 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120824/98a606b0/attachment.bin>
More information about the ffmpeg-devel
mailing list