Skip to content

Conversation

jmacato
Copy link
Member

@jmacato jmacato commented Jul 22, 2025

Added missing sample for linux drm support.

@jmacato jmacato marked this pull request as ready for review July 22, 2025 09:38
Comment on lines +34 to +38
#if DEMO_FB
// TODO: For testing purposes only, since Avalonia DRM backend doesn't support direct keyboard input just yet.
// So we "manually" set the media source for immediate playback.
Dispatcher.UIThread.InvokeAsync(() => { MainVm.SetSource(new UriSource("/home/user/video.mp4")); }, DispatcherPriority.Idle);
#endif
Copy link
Member

Choose a reason for hiding this comment

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

DEMO_FB is not defined on a shared project, or is it?

Copy link
Member

Choose a reason for hiding this comment

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

It can be a runtime field otherwise

Copy link
Member Author

Choose a reason for hiding this comment

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

Hmmm i added the constant to the LinuxDRM project instead

Copy link
Member

Choose a reason for hiding this comment

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

Yeah, but it doesn't affect shared project

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.

3 participants