Andrekarma

Results 21 comments of Andrekarma

Any update on this pr?

@arnoudcommandeur do you have a sample code of your implementation? Thanks!

Could be something related also to this problem? https://github.com/media-kit/media-kit/issues/552#issuecomment-2095830769

I am creating 2 instances of a class with the video controller. i load 2 different videos at the time, but only one is showed. The second one is ready...

I hope it is related to the fact that after some iterations of this switch beetween different videos, the app crashes with no specific error log

It is still happening, and i don't understand why The logic is the same of your example, but the Garbage collector is doing something that should not be doing. I...

@jakky1 Here you have it ![image](https://github.com/jakky1/video_player_win/assets/59538816/807537cd-4778-4b4e-b100-e1953f41e9c8) import 'dart:io'; import 'package:flutter/material.dart'; import 'package:video_player/video_player.dart'; void main() { runApp(const MyApp()); } const gFileList = [ "C:\\Users\\andreacarmagnola\\Desktop\\VIDEOTEST\\4kvert.mp4", "C:\\Users\\andreacarmagnola\\Desktop\\VIDEOTEST\\bene.mp4", "C:\\Users\\andreacarmagnola\\Desktop\\VIDEOTEST\\male.mp4", ]; class MyApp extends StatefulWidget...

The GC issue seems now resolved But not there is another problem. Randomly after some time playing, i see this error and the app crashes [ERROR:flutter/shell/platform/windows/external_texture_d3d.cc(107)] Binding D3D surface failed.

import 'dart:async'; import 'dart:io'; import 'package:flutter/material.dart'; import 'package:video_player/video_player.dart'; import 'package:video_player_win/video_player_win.dart'; void main() { runApp(const MyApp()); } const gFileList = [ "C:\\Users\\andreacarmagnola\\Desktop\\VIDEOTEST\\4kvert.mp4", "C:\\Users\\andreacarmagnola\\Desktop\\VIDEOTEST\\bene.mp4" ]; class MyApp extends StatefulWidget { const MyApp({Key?...