Open w136111526 opened 5 years ago
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
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?
Just sent you an email.
Hello, did you get the email I sent? Is there a problem with my creating a subwindow for the desktop?
Sorry, no, I haven't got your email.
I can't send the code directly to your GitHub mailbox. The attachment is too large. Could you tell me about another one?
Please try razawu@key-mail.net
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?