Update vpx README file

PiperOrigin-RevId: 271942692
This commit is contained in:
sofijajvc 2019-09-30 10:58:32 +01:00 committed by Oliver Woodman
parent 9f8002f16a
commit 36d3fef2b5

View File

@ -107,12 +107,11 @@ a custom track selector the choice of `Renderer` is up to your implementation,
so you need to make sure you are passing an `LibvpxVideoRenderer` to the so you need to make sure you are passing an `LibvpxVideoRenderer` to the
player, then implement your own logic to use the renderer for a given track. player, then implement your own logic to use the renderer for a given track.
`LibvpxVideoRenderer` can optionally output to a `VpxVideoSurfaceView` when not `LibvpxVideoRenderer` can optionally output to a `VideoDecoderSurfaceView` when
being used via `SimpleExoPlayer`, in which case color space conversion will be not being used via `SimpleExoPlayer`, in which case color space conversion will
performed using a GL shader. To enable this mode, send the renderer a message of be performed using a GL shader. To enable this mode, send the renderer a message
type `LibvpxVideoRenderer.MSG_SET_OUTPUT_BUFFER_RENDERER` with the of type `C.MSG_SET_OUTPUT_BUFFER_RENDERER` with the `VideoDecoderSurfaceView` as
`VpxVideoSurfaceView` as its object, instead of sending `MSG_SET_SURFACE` with a its object, instead of sending `MSG_SET_SURFACE` with a `Surface`.
`Surface`.
## Links ## ## Links ##