aboutsummaryrefslogtreecommitdiffstats
path: root/doc/general_contents.texi
diff options
context:
space:
mode:
authorMarton Balint <cus@passwd.hu>2022-07-10 20:32:55 +0200
committerMarton Balint <cus@passwd.hu>2022-07-17 22:12:31 +0200
commit83feded4926272904e4abcecaa573e61d457a0db (patch)
treebe547be3ea188fe9340c7ef2ffbaf0bae267129a /doc/general_contents.texi
parent2720715dab70f40025a1d209e746b6c0f188a9d4 (diff)
downloadffmpeg-83feded4926272904e4abcecaa573e61d457a0db.tar.gz
avdevice/avdevice: fix return value of avdevice_list_devices()
According to API docs avdevice_list_devices(), avdevice_list_input_sources() and avdevice_list_input_sinks() should return the number of autodetected devices on success. This is redundant with AVDeviceInfoList->nb_devices so it was not noticed earlier that none of the underlying device list functions work like that. Let's fix it in generic code to make it in line with the API docs. Fixes ticket #9820. Signed-off-by: Marton Balint <cus@passwd.hu> (cherry picked from commit 64f04df37942c1b1fc11df0f99ffba7834c33f34)
Diffstat (limited to 'doc/general_contents.texi')
0 files changed, 0 insertions, 0 deletions