Skip to content
Snippets Groups Projects

[3.0] direct3d11: fix uninitialized src_fmt when render with external device

Merged Tung Huynh requested to merge huynhsontung/vlc:fix-src-fmt into 3.0.x

In the direct3d11 module, CommonInit won't execute if external_device is true, thus leaving vout_display_sys_win32_t.src_fmt = NULL. The module crashes soon after when it tries to use src_fmt in UpdateRects. The solution is to initialize src_fmt in direct3d11 when using external device.

Edited by Tung Huynh

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading