Skip to content

Commit

Permalink
RendererDRMPRIME: Remove NeedBuffer check for valid fd
Browse files Browse the repository at this point in the history
This check breaks DVD menus. All calls return true which prevents
new pictures being released, stalling DVD menus
  • Loading branch information
popcornmix committed Jul 8, 2022
1 parent c5dddfc commit 6cf3d8a
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -179,10 +179,6 @@ bool CRendererDRMPRIME::NeedBuffer(int index)
if (m_iLastRenderBuffer == index)
return true;

CVideoBufferDRMPRIME* buffer = dynamic_cast<CVideoBufferDRMPRIME*>(m_buffers[index].videoBuffer);
if (buffer && buffer->m_fb_id)
return true;

return false;
}

Expand Down

0 comments on commit 6cf3d8a

Please sign in to comment.