Use a separate callback to indicate EOS instead of renderFrame()
This commit is contained in:
parent
5de0dc2713
commit
474591c6a5
12 changed files with 18 additions and 50 deletions
|
|
@ -475,11 +475,6 @@ void DrmRenderer::renderFrame(AVFrame* frame)
|
|||
AVDRMFrameDescriptor mappedFrame;
|
||||
AVDRMFrameDescriptor* drmFrame;
|
||||
|
||||
if (frame == nullptr) {
|
||||
// End of stream - nothing to do for us
|
||||
return;
|
||||
}
|
||||
|
||||
// If we are acting as the frontend renderer, we'll need to have the backend
|
||||
// map this frame into a DRM PRIME descriptor that we can render.
|
||||
if (m_BackendRenderer != nullptr) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue