[FFmpeg-devel] [PATCH 2/2] tools: add make_chlayout_test perl script.

Nicolas George nicolas.george at normalesup.org
Tue Aug 28 15:21:05 CEST 2012


Le primidi 11 fructidor, an CCXX, Stefano Sabatini a écrit :
> Note: maybe the use of use Getopt::Long and Pod::Usage; may made
> things much robust/simpler/extensible.
> 
> use Getopt::Long;
> use Pod::Usage;
> 
> GetOptions (
>     'help|usage|?|h'           => sub { pod2usage ( { -verbose => 1, -exitval => 0 }) },
>     'manpage|m'                => sub { pod2usage ( { -verbose => 2, -exitval => 0 }) },
>     # issue an error message and exit
>     ) or pod2usage( { -message=> "Parsing error", 
> 		      -verbose => 1, -exitval => 1 });

Added that, with necessary adjustments.

> No more comments, feel free to push with or without the suggested
> changes.

I pushed. I'll maintain if parsing the output breaks. And I am idly thinking
about the writer API.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120828/43fb21f1/attachment.asc>


More information about the ffmpeg-devel mailing list