Re: [FFmpeg-devel] [PATCH] Add get_device_list() to AVFoundation input device.

2015-04-28 Thread Daniel Ly
On Thu, Apr 23, 2015 at 11:41 AM, Thilo Borgmann wrote: > Am 23.04.15 um 11:07 schrieb Daniel Ly: > > +info->device_name = av_asprintf("[%d] %s: %s", index, description, > model); > > So I assume that this is not parsed later. > However, it changes current

[FFmpeg-devel] [PATCH] Add get_device_list() to AVFoundation input device.

2015-04-28 Thread Daniel Ly
This makes avdevice_list_input_sources() available for device_name = "avfoundation". avf_read_header is retrofitted to use the new method. Signed-off-by: Daniel Ly --- libavdevice/avfoundation.m | 139 + 1 file changed, 104 insertions(+), 35

Re: [FFmpeg-devel] [PATCH] Add get_device_list() to AVFoundation input device.

2015-04-23 Thread Daniel Ly
On Thu, Apr 23, 2015 at 9:58 AM, Thilo Borgmann wrote: > Am 23.04.15 um 09:35 schrieb Daniel Ly: > > This makes avdevice_list_input_sources() available for > > device_name = "avfoundation". > > > > I didn't yet retrofit avf_read_header() to use the

[FFmpeg-devel] [PATCH] Add get_device_list() to AVFoundation input device.

2015-04-23 Thread Daniel Ly
This makes avdevice_list_input_sources() available for device_name = "avfoundation". I didn't yet retrofit avf_read_header() to use the new function to keep this patch small. I will post the follow-up patch in the same thread. Signed-off-by: Daniel Ly --- libavdevice/avfo

[FFmpeg-devel] [PATCH] Add get_device_list() to AVFoundation input device.

2015-04-23 Thread Daniel Ly
This makes avdevice_list_input_sources() available for device_name = "avfoundation". I didn't yet retrofit avf_read_header() to use the new function to keep this patch small. Signed-off-by: Daniel Ly --- libavdevice/avfoundation.m | 85 +++