[Libav-user] avdevice_list_input_sources() always return -78

Valeriy Shtoma shtomavaleriy at gmail.com
Fri Mar 2 03:38:09 EET 2018


Hi,

I want to get list of avfoundation devices (libavdevice).

My code:

AVInputFormat *ifm = av_find_input_format("avfoundation”);
AVDeviceInfoList *list;
ret = avdevice_list_input_sources(ifm, NULL, NULL, &list);
av_log(NULL, AV_LOG_ERROR, "%s\n", av_err2str(ret));

"Function not implemented” prints to std out.

Guys, somebody knows, why I get this error? “ret” always
== -78. What does it mean?

Thanks for attention ;) Good evening to all.

Kind Regards,
Valeriy V Shtoma


More information about the Libav-user mailing list