On 13.08.2014 16:00, Michael Niedermayer wrote:
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

Sorry for long delay.
I reworked a patch a bit, sending in new thread.

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to