[mythtv] Playback next steps

David Engel david at istwok.net
Thu Dec 20 02:41:06 UTC 2018


On Wed, Dec 19, 2018 at 06:36:41PM -0500, Peter Bennett wrote:
> On 12/19/18 5:21 PM, David Engel wrote:
> > > It's probably the same long standing problem.  The latest change
> > > removes the UYVY option and causes the default format to be BGRA.  I
> > > wonder if defaulting to RGBA would work.  Is there an advantage to
> > > using BGRA when available instead of RGBA?
> > Strike the "I wonder" part.  They are the same on Android so it
> > shouldn't matter.  My best guess is still that something in the
> > kGLFilterYUV2RGB support isn't accounting for them being the same.
> OpenGL ES does not support BGRA, only RGBA. If order to allow the code to
> compile successfully , somebody has added a #define that sets BGRA to RGBA,
> but that does not make them the same, only causes problems if somebody tries
> to use BGRA.

I didn't know the ES formality, just that it wasn't there in the
Android SDK.  Anyway, I took another look this evening and I'm still
as GL illiterate as ever.  YV12 still works so RGBA/BGRA can wait for
Mark to return.

David
-- 
David Engel
david at istwok.net


More information about the mythtv-dev mailing list