Sascha-L / WPF-MediaKit

Microsoft Public License
367 stars 117 forks source link

Wrong condition in D3DRender.D3DImageIsFrontBufferAvailableChanged #61

Closed MatriXiao88 closed 7 years ago

MatriXiao88 commented 7 years ago

Hardware configuration

  1. Intel Celeron CPU J1900 1.99GHZ
  2. RAM:4G
  3. Integrated graphics card:Intel HD Graphics

Reproduce

  1. Preview camera with wpfMediaKit
  2. Put the computer to sleep
  3. Wake the computer up after step 2
  4. Repeat setp 1-3 above multiple times, the application will be black out.

Other information

xmedeko commented 7 years ago

@Rhuaer is this issue similar/duplicate to #42 and #3?

MatriXiao88 commented 7 years ago

@xmedeko yeah, I will try it with BobDeCuir's suggestion. Please close this issue. Thanks.

xmedeko commented 7 years ago

May you suggest some PR, or some HOWTO manual for other users?

MatriXiao88 commented 7 years ago

@xmedeko I have created a pull request. see #62