Bug 48235 - AVCaptureVideoDataOutput.AvailableCVPixelFormatTypes should return CVPixelFormatType[]
Summary: AVCaptureVideoDataOutput.AvailableCVPixelFormatTypes should return CVPixelFor...
Alias: None
Product: iOS
Classification: Xamarin
Component: Xamarin.iOS.dll ()
Version: XI 10.0 (iOS10)
Hardware: PC Mac OS
: Normal enhancement
Target Milestone: Future Cycle (TBD)
Assignee: Alex Soto [MSFT]
Depends on:
Reported: 2016-11-28 19:55 UTC by Larry O'Brien
Modified: 2017-02-15 14:24 UTC (History)
3 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Larry O'Brien 2016-11-28 19:55:18 UTC
AVCaptureVideoDataOutput.AvailableCVPixelFormatTypes returns NSNumber[], but the values are those of elements in the enumeration CoreMedia.CMPixelFormat. Apple documentation is "Indicates the supported video pixel formats that can be specified in videoSettings."
Comment 1 Larry O'Brien 2016-11-28 19:56:30 UTC
Nope -- they're CoreVideo/CVPixelFormatType values.
Comment 2 Timothy Risi 2016-11-30 17:29:15 UTC
Unfortunately changing the return type of a binding is a breaking change, so this isn't something we can change right away.
Comment 3 Sebastien Pouliot 2016-11-30 21:50:04 UTC
The new [BindAs] support, on which Alex is working, will allow this type of API in the future.
Comment 4 Alex Soto [MSFT] 2017-02-11 01:11:44 UTC
Comment 5 Sebastien Pouliot 2017-02-15 14:24:34 UTC
This was merged in master https://github.com/xamarin/xamarin-macios/commit/80e06201557ca1efe2aa876553114c0866d7c673