Skip to content

Would be helpful to gets some notes on the lifecycle of MediaPlayerSurface #604

Open
@JohnnyWestlake

Description

@JohnnyWestlake

We can call GetSurface on a MediaPlayer to get a composition surface, but there's no notes on it's lifecycle or how to handle it. Does it dispose itself? Should we dispose it? Is it attached to the player as a whole? Or only valid when the player actually has visual output (i.e, disposes itself when Player.Source is null?)


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Metadata

Metadata

Assignees

Labels

Pri2doc-bugfeedback is about something that is out of date, unclear, confusing, or broken in the articleunspecified/svcwindows/prod

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions