Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- mythtv/libs/libmythtv/opengl/mythopenglvideo.cpp
- +++ mythtv/libs/libmythtv/opengl/mythopenglvideo.cpp
- @@ -709,8 +709,8 @@ void MythOpenGLVideo::PrepareFrame(VideoFrame *Frame, bool TopFieldFirst, FrameS
- // nothing to display, then fallback to this framebuffer.
- // N.B. this is now strictly necessary with v4l2 and DRM PRIME direct rendering
- // but ignore now for performance reasons
- - VideoResizing resize = Frame ? (format_is_hwframes(Frame->codec) ? Framebuffer : None) :
- - (format_is_hwframes(m_inputType) ? Framebuffer : None);
- + VideoResizing resize = Frame ? ((format_is_hwframes(Frame->codec) || Frame->codec == FMT_MEDIACODEC) ? Framebuffer : None) :
- + ((format_is_hwframes(m_inputType) || Frame->codec == FMT_MEDIACODEC) ? Framebuffer : None);
- vector<MythVideoTexture*> inputtextures = m_inputTextures;
- if (inputtextures.empty())
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement