#1: Init texture with default integer (#2)

This commit is contained in:
Nguyen Khoa
2022-12-22 18:54:59 +07:00
committed by GitHub
parent af6f0e132c
commit 65c1559d01
+1 -1
View File
@@ -7,7 +7,7 @@ import 'package:flutter/material.dart';
class GstPlayerTextureController { class GstPlayerTextureController {
static const MethodChannel _channel = MethodChannel('flutter_gstreamer_player'); static const MethodChannel _channel = MethodChannel('flutter_gstreamer_player');
late int textureId; int textureId = 0;
static int _id = 0; static int _id = 0;
Future<int> initialize(String pipeline) async { Future<int> initialize(String pipeline) async {