Bug 38484 - Crash in constructor of CMVideoFormatDescription
Summary: Crash in constructor of CMVideoFormatDescription
Status: RESOLVED FIXED
Alias: None
Product: iOS
Classification: Xamarin
Component: Xamarin.iOS.dll ()
Version: XI 9.2
Hardware: Other Other
: --- normal
Target Milestone: Untriaged
Assignee: Rolf Bjarne Kvinge [MSFT]
URL:
Depends on:
Blocks:
 
Reported: 2016-02-05 08:57 UTC by Emmanuel
Modified: 2016-02-05 13:09 UTC (History)
2 users (show)

Tags:
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:
Status:
RESOLVED FIXED

Description Emmanuel 2016-02-05 08:57:21 UTC
This single line makes our application crash:

CMVideoFormatDescription description = new CMVideoFormatDescription(CMVideoCodecType.H264, new CMVideoDimensions(960, 540));

It looks like a binding problem because I have been able to create a CM(Video)FormatDescription with my own binding library.
Comment 1 Rolf Bjarne Kvinge [MSFT] 2016-02-05 12:46:38 UTC
Yes, this is a binding mistake.
Comment 2 Rolf Bjarne Kvinge [MSFT] 2016-02-05 13:09:37 UTC
Fixed.

maccore/master: b5faf659c74242f3e8876c05428c0c7f140e6422