Opened 22 months ago

#9828 new defect

directshow avdevice_free_list_devices not releasing all handles

Reported by: IsraelO Owned by:
Priority: normal Component: avformat
Version: git-master Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: yes

Description

Summary of the bug:
repeted calles to avdevice_list_input_sources/avdevice_free_list_devices
keeps accumulating and openning windows handles.

How to reproduce:
AVDeviceInfoList* dv = 0;
avdevice_list_input_sources(av_find_input_format("dshow"), NULL, NULL, &dv));
avdevice_free_list_devices(&dv);

Attachments (1)

alternative_solution.cpp (3.2 KB ) - added by IsraelO 22 months ago.
Temporary solution that solves hanled not been released

Download all attachments as: .zip

Change History (1)

by IsraelO, 22 months ago

Attachment: alternative_solution.cpp added

Temporary solution that solves hanled not been released

Note: See TracTickets for help on using tickets.