Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refresh window flashing issues #15

Open
w136111526 opened this issue May 11, 2019 · 7 comments
Open

refresh window flashing issues #15

w136111526 opened this issue May 11, 2019 · 7 comments

Comments

@w136111526
Copy link

Hello, may I use m_frameListener->DrawFrame(this, m_feature) data refresh the desktop child window, other process also refresh the desktop child window, what is the reason for the obvious flashing, can not refresh the Desttop child window through thread callbacks?

@aliakseis
Copy link
Owner

Considering virtual void drawFrame(IFrameDecoder* decoder, unsigned int generation) - probably its name is not quite appropriate. It is about client notification for using the current frame (obtained through getFrameRenderingData) for drawing. It is the client's responsibility to save frame data for redraw. Usually it is done with some internal buffer. CPlayerViewD2D can be considered as an alternative usage example. Another rendering idea can be taken from here: https://github.com/mozilla/positron/blob/master/media/webrtc/trunk/webrtc/modules/video_render/android/video_render_opengles20.cc

@w136111526
Copy link
Author

w136111526 commented May 12, 2019

Hello, I found that your player's PlayView 2D can not be used to display hard decoded data. I wrote a small desktop video wallpaper program that runs two programs that will always flashing. Can you tell me about your Email, and I 'll send it to you, and you can look at the vide.lib and d3d rendering sections for what's wrong?

@aliakseis
Copy link
Owner

Just sent you an email.

@w136111526
Copy link
Author

Hello, did you get the email I sent? Is there a problem with my creating a subwindow for the desktop?

@aliakseis
Copy link
Owner

Sorry, no, I haven't got your email.

@w136111526
Copy link
Author

I can't send the code directly to your GitHub mailbox. The attachment is too large. Could you tell me about another one?

@aliakseis
Copy link
Owner

Please try [email protected]

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

No branches or pull requests

2 participants