|
|
@ -2112,7 +2112,7 @@ static int print_device_sources(AVInputFormat *fmt, AVDictionary *opts) |
|
|
|
if (!fmt || !fmt->priv_class || !AV_IS_INPUT_DEVICE(fmt->priv_class->category)) |
|
|
|
if (!fmt || !fmt->priv_class || !AV_IS_INPUT_DEVICE(fmt->priv_class->category)) |
|
|
|
return AVERROR(EINVAL); |
|
|
|
return AVERROR(EINVAL); |
|
|
|
|
|
|
|
|
|
|
|
printf("Audo-detected sources for %s:\n", fmt->name); |
|
|
|
printf("Auto-detected sources for %s:\n", fmt->name); |
|
|
|
if (!fmt->get_device_list) { |
|
|
|
if (!fmt->get_device_list) { |
|
|
|
ret = AVERROR(ENOSYS); |
|
|
|
ret = AVERROR(ENOSYS); |
|
|
|
printf("Cannot list sources. Not implemented.\n"); |
|
|
|
printf("Cannot list sources. Not implemented.\n"); |
|
|
@ -2142,7 +2142,7 @@ static int print_device_sinks(AVOutputFormat *fmt, AVDictionary *opts) |
|
|
|
if (!fmt || !fmt->priv_class || !AV_IS_OUTPUT_DEVICE(fmt->priv_class->category)) |
|
|
|
if (!fmt || !fmt->priv_class || !AV_IS_OUTPUT_DEVICE(fmt->priv_class->category)) |
|
|
|
return AVERROR(EINVAL); |
|
|
|
return AVERROR(EINVAL); |
|
|
|
|
|
|
|
|
|
|
|
printf("Audo-detected sinks for %s:\n", fmt->name); |
|
|
|
printf("Auto-detected sinks for %s:\n", fmt->name); |
|
|
|
if (!fmt->get_device_list) { |
|
|
|
if (!fmt->get_device_list) { |
|
|
|
ret = AVERROR(ENOSYS); |
|
|
|
ret = AVERROR(ENOSYS); |
|
|
|
printf("Cannot list sinks. Not implemented.\n"); |
|
|
|
printf("Cannot list sinks. Not implemented.\n"); |
|
|
|