Excuses for the unclear post. Trying to be more clear...
I have an application which generates MP4 file using the mp4v2 lib.
The video frames in MP4 have the property called duration, which indicates how much time must the frame be displayed.
Now, let's suppose, I generate an MP4 file with some frame duration equal to 20 seconds (in corresponding units).
VLC (libvlc) version 2.1.5 and older:
- the slide bar and time start to work normally;
- when arrived to that specific frame the screen freezes, while slide bar and time continue to change;
- events libvlc_MediaPlayerTimeChanged and libvlc_MediaPlayerPositionChanged are delivered all the time including these 20 during the frame duration.
Totally correct behavior.
VLC(libvlc) version 2.1.6 and newer: VLC arrives to this specific frame normally, then freezes for 20 seconds (no slide bar, time, events), then continues normally.
I will be glad to provide more details, just, please, ask questions...