[FFmpeg-devel] [PATCH] Improve error-messaging with ffmpeg presets

Stefano Sabatini stefano.sabatini-lala
Tue Oct 14 21:43:08 CEST 2008


On date Sunday 2008-10-12 11:48:29 +0200, Stefano Sabatini encoded:
[...]
> Then I realized I wasn't satisfied with the patch, please check the
> attached one.
> 
> I introduced a filename string which is used to print the name of the
> file where the error is eventually encountered, and I changed:
>    fprintf(stderr, "Preset file '%s' not found\n", arg);
> to 
>    fprintf(stderr, "File for preset '%s' not found\n", arg);
> 
> since the argument doesn't necessarily specify a filename.

Attaching again the patch split.

Regards.
-- 
FFmpeg = Forgiving and Fiendish Multimedia Pitiless Eager God
-------------- next part --------------
A non-text attachment was scrubbed...
Name: more-useful-preset-errmsg-03.patch
Type: text/x-diff
Size: 336 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20081014/872f618b/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: print-file-err-preset-00.patch
Type: text/x-diff
Size: 1935 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20081014/872f618b/attachment-0001.patch>



More information about the ffmpeg-devel mailing list