Skip to content

[avfoundation] Fix incorrect selector for AVPlayerItemVideoOutput .ctor. Fixes #48382 - #1276

Merged
spouliot merged 2 commits into
dotnet:masterfrom
spouliot:bug48382
Dec 1, 2016
Merged

[avfoundation] Fix incorrect selector for AVPlayerItemVideoOutput .ctor. Fixes #48382#1276
spouliot merged 2 commits into
dotnet:masterfrom
spouliot:bug48382

Conversation

@spouliot

@spouliot spouliot commented Dec 1, 2016

Copy link
Copy Markdown
Contributor

Commit ba37aa4 workaround around a signature clash incorrectly and
turned the selector to static ones (and incorrectly set the handle)

Also fix a typo in the [Advice] attribute of the old API

https://bugzilla.xamarin.com/show_bug.cgi?id=48382

…or. Fixes #48382

Commit ba37aa4 workaround around a signature clash incorrectly and
turned the selector to static ones (and incorrectly set the handle)

Also fix a typo in the [Advice] attribute of the old API

https://bugzilla.xamarin.com/show_bug.cgi?id=48382
@monojenkins

Copy link
Copy Markdown
Contributor

Build success

}

AVPlayerItemVideoOutput (NSDictionary data, AVPlayerItemVideoOutput.InitMode mode) : this (IntPtr.Zero)
AVPlayerItemVideoOutput (NSDictionary data, AVPlayerItemVideoOutput.InitMode mode) : this ()

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this call : base (NSObjectFlag.Empty) instead?

Otherwise we'll be doing this:

[[[AVPlayerItemVideoOutput] alloc] init] initWith..]

i.e. calling init* twice.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

agreed, once is enough :)

@monojenkins

Copy link
Copy Markdown
Contributor

Build success

@spouliot
spouliot merged commit caea761 into dotnet:master Dec 1, 2016
@spouliot
spouliot deleted the bug48382 branch December 1, 2016 22:01
spouliot added a commit that referenced this pull request Dec 7, 2016
…or. Fixes #48382 (#1276)

Commit ba37aa4 workaround around a signature clash incorrectly and
turned the selector to static ones (and incorrectly set the handle)

Also fix a typo in the [Advice] attribute of the old API

https://bugzilla.xamarin.com/show_bug.cgi?id=48382
spouliot added a commit that referenced this pull request Dec 7, 2016
…or. Fixes #48382 (#1276)

Commit ba37aa4 workaround around a signature clash incorrectly and
turned the selector to static ones (and incorrectly set the handle)

Also fix a typo in the [Advice] attribute of the old API

https://bugzilla.xamarin.com/show_bug.cgi?id=48382
rolfbjarne pushed a commit to rolfbjarne/macios that referenced this pull request Dec 8, 2016
…or. Fixes #48382 (dotnet#1276)

Commit ba37aa4 workaround around a signature clash incorrectly and
turned the selector to static ones (and incorrectly set the handle)

Also fix a typo in the [Advice] attribute of the old API

https://bugzilla.xamarin.com/show_bug.cgi?id=48382
rolfbjarne added a commit that referenced this pull request Dec 8, 2016
…or. Fixes #48382 (#1276) (#1321)

Commit ba37aa4 workaround around a signature clash incorrectly and
turned the selector to static ones (and incorrectly set the handle)

Also fix a typo in the [Advice] attribute of the old API

https://bugzilla.xamarin.com/show_bug.cgi?id=48382
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants