Meta.Vlc
Meta.Vlc copied to clipboard
need a simple way to stay in the 1st Frame
i have tried to use media.play() and media.pause() to get it. But sometime, it won't work as what it should be, it just show nothing on the panel. Although i have even used those events like StateChanged, VideoSourceChanged.
Could it provide a simple way to stay in the 1st Frame whenever programe want?
As I knew, when you call the play method, VLC needs some time to decode frames to buffer. It always to get a transparent image before the buffer is ready to play. I think you can use another lib to get the frame snapshot. Maybe you can try to set time to not zero value, perhaps it works...
I have test playing after the Event ContentRendered, and only doing pause() after the StateChanged(media.state==playing) but here is also nothing on the panel. &thanks