You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 21, 2022. It is now read-only.
I wanted to open a video file with multiple audio tracks, and set a specific audio track. I tried the "Opening" event, but Audio.Tracks was empty at that point. Then I tried the "Playing" event. Audio.Tracks was filled. But this event is also called when resuming the video from pause. If I use the "Playing" event to set the audio track number, then I would be doing unnecessary things at each pause/resume.
Not just for this case, there could be various other things that I want to do only once when the file is first parsed and ready. What is the solution? Is there another event like "the file is ready to play", or should I keep my own variable to track whether it is the first "Playing" event for this file or not?
[ v ] I confirm that my issue doesn't happen in VLC itself.
The text was updated successfully, but these errors were encountered:
I have a question (pick one) about Vlc.DotNet.
Generic information
Summary
I wanted to open a video file with multiple audio tracks, and set a specific audio track. I tried the "Opening" event, but Audio.Tracks was empty at that point. Then I tried the "Playing" event. Audio.Tracks was filled. But this event is also called when resuming the video from pause. If I use the "Playing" event to set the audio track number, then I would be doing unnecessary things at each pause/resume.
Not just for this case, there could be various other things that I want to do only once when the file is first parsed and ready. What is the solution? Is there another event like "the file is ready to play", or should I keep my own variable to track whether it is the first "Playing" event for this file or not?
The text was updated successfully, but these errors were encountered: