SHARE
TWEET

Untitled

a guest Feb 27th, 2020 85 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --- mythtv/libs/libmythtv/opengl/mythopenglvideo.cpp
  2. +++ mythtv/libs/libmythtv/opengl/mythopenglvideo.cpp
  3. @@ -709,8 +709,8 @@ void MythOpenGLVideo::PrepareFrame(VideoFrame *Frame, bool TopFieldFirst, FrameS
  4.      // nothing to display, then fallback to this framebuffer.
  5.      // N.B. this is now strictly necessary with v4l2 and DRM PRIME direct rendering
  6.      // but ignore now for performance reasons
  7. -    VideoResizing resize = Frame ? (format_is_hwframes(Frame->codec) ? Framebuffer : None) :
  8. -                                   (format_is_hwframes(m_inputType)  ? Framebuffer : None);
  9. +    VideoResizing resize = Frame ? ((format_is_hwframes(Frame->codec) || Frame->codec == FMT_MEDIACODEC) ? Framebuffer : None) :
  10. +                                   ((format_is_hwframes(m_inputType)  || Frame->codec == FMT_MEDIACODEC) ? Framebuffer : None);
  11.  
  12.      vector<MythVideoTexture*> inputtextures = m_inputTextures;
  13.      if (inputtextures.empty())
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top