[FFmpeg-devel] [PATCH] Make ffserver use parse_options()
Michael Niedermayer
michaelni
Sat May 17 23:02:39 CEST 2008
On Sat, May 17, 2008 at 01:18:20PM +0200, Stefano Sabatini wrote:
> Hi all, as in subject,
>
> somehow improves both the user and the programmer interface of
> ffserver.
[...]
> @@ -4339,10 +4329,45 @@
> need_to_start_children = 1;
> }
>
> +static void show_help();
> +
> +static void opt_show_help(void)
> +{
> + show_help();
> + exit(0);
> +}
[...]
> +static void show_help()
> +{
> + printf("usage: ffserver [options]\n"
> + "Hyper fast multi format Audio/Video streaming server\n");
> + printf("\n");
> + show_help_options(options, "Main options:\n", 0, 0);
> +}
Am i missing something or could these 2 be merged?
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Old school: Use the lowest level language in which you can solve the problem
conveniently.
New school: Use the highest level language in which the latest supercomputer
can solve the problem without the user falling asleep waiting.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080517/bd76338d/attachment.pgp>
More information about the ffmpeg-devel
mailing list