Skip to content

Commit

Permalink
编译报错问题
Browse files Browse the repository at this point in the history
  • Loading branch information
shenbengit committed Nov 6, 2023
1 parent 2e080df commit 6d8dabb
Showing 1 changed file with 4 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,10 @@ open class TextureViewRenderer @JvmOverloads constructor(

}
private val resourceName: String = getResourceName()
protected val videoLayoutMeasure = RendererCommon.VideoLayoutMeasure()
protected val eglRenderer = TextureEglRenderer(resourceName, internalRendererEvents)
private var rendererEvents: RendererCommon.RendererEvents? = null
val videoLayoutMeasure = RendererCommon.VideoLayoutMeasure()
val eglRenderer = TextureEglRenderer(resourceName, internalRendererEvents)
var rendererEvents: RendererCommon.RendererEvents? = null
private set

protected var rotatedFrameWidth = 0
protected var rotatedFrameHeight = 0
Expand Down Expand Up @@ -137,18 +138,6 @@ open class TextureViewRenderer @JvmOverloads constructor(
eglRenderer.clearImage()
}

fun getVideoLayoutMeasure(): RendererCommon.VideoLayoutMeasure {
return videoLayoutMeasure
}

fun getEglRenderer(): TextureEglRenderer {
return eglRenderer
}

fun getRendererEvents(): RendererCommon.RendererEvents? {
return rendererEvents
}

/**
* Register a callback to be invoked when a new video frame has been received.
*
Expand Down

0 comments on commit 6d8dabb

Please sign in to comment.