修正log內容
This commit is contained in:
parent
792ebc70c2
commit
db673d3553
@ -123,7 +123,7 @@ class VideoView : ConstraintLayout, SurfaceHolder.Callback, GstCallback {
|
|||||||
}
|
}
|
||||||
|
|
||||||
override fun surfaceChanged(holder: SurfaceHolder, format: Int, width: Int, height: Int) {
|
override fun surfaceChanged(holder: SurfaceHolder, format: Int, width: Int, height: Int) {
|
||||||
Log.d("${TAG}_$tag", "Surface changed to format: $format, width: $width, height: $height")
|
Log.d("${TAG}_$tag", "Surface changed, format: $format, width: $width, height: $height")
|
||||||
if (this::gstLibrary.isInitialized) {
|
if (this::gstLibrary.isInitialized) {
|
||||||
gstLibrary.setSurfaceHolder(holder)
|
gstLibrary.setSurfaceHolder(holder)
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user