42

I am using a surface texture view to display videos. The videos are shown in a carousel which is essentially a view pager.

I have already tried releasing the surface view on the surface gets destroyed but not helping.

override fun onSurfaceTextureDestroyed(surface: SurfaceTexture) : Boolean { release(true)

        if (mSurface != null) {
            mSurface!!.release()
            mSurface = null
        }

        return true
    }

2019-09-04 11:38:47.387 15825-16264/app.android.idealz.com.debug E/BufferQueueProducer: [SurfaceTexture-0-15825-35] detachBuffer: slot 0 is not owned by the producer (state = FREE)

2
  • 2
    I'm also coming across this issue, although it seems to have no adverse side effects. Did you resolve it somehow?
    – em_
    Dec 24, 2021 at 1:29
  • 2
    Also looking for an answer to it :/
    – Lucas B.
    Aug 8, 2022 at 13:59

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.