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

2015-04-29 Thread Thilo Borgmann
Am 28.04.15 um 16:49 schrieb 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 > +-

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 output format and should interfere w

[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 deletions(

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 new function to > > keep this patch small. > > P

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

2015-04-23 Thread Thilo Borgmann
Am 23.04.15 um 11:07 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 new function to > keep this patch small. I will post the follow-up patch in the same > thread. > > Signed-off-by:

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

2015-04-23 Thread Clément Bœsch
On Thu, Apr 23, 2015 at 11:07:43AM +0200, Daniel Ly wrote: > 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.

[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/avfoundation.m | 98 +++

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

2015-04-23 Thread Thilo Borgmann
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 new function to > keep this patch small. Please post a follow-up patch for that purpose, too. (In that thread)

[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 ++ 1 file chan