mirror of
https://github.com/androidx/media.git
synced 2025-05-14 02:59:52 +08:00
Update vpx README file
PiperOrigin-RevId: 271942692
This commit is contained in:
parent
9f8002f16a
commit
36d3fef2b5
@ -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 ##
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user