On Thu, Aug 07, 2014 at 01:58:57AM +0200, Lukasz Marek wrote: > Allows to list sources/sinks of the devices that implement > that functionality. >
[...] > +int show_sinks(void *optctx, const char *opt, const char *arg) > +{ > +#if CONFIG_AVDEVICE > + AVDeviceInfoList *device_list = NULL; > + AVFormatContext *dev = NULL; > + AVOutputFormat *fmt; > + int ret, i; > + > + if (!arg) { > + printf("Device name is missing.\n"); > + return AVERROR(EINVAL); > + } shouldnt a plain "-sinks" list all available sinks ? similar for sources [...] -- 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.
signature.asc
Description: Digital signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel