Hi,
I'm conducting research in advanced scheduling of video applications, and I have chosen to use VLC for my experiments.
I want to collect timestamps of frames (when they were displayed). I see that 'libvlc_video_set_callbacks' could be useful, but I have a problem.
I just want to use the 'display' callback, i.e., libvlc_video_set_callbacks(mp, NULL, NULL, display, NULL)
However, I must implement lock and unlock also, otherwise I get runtime errors, e.g., libvlc_video_set_callbacks(mp, lock, unlock, display, NULL)
I dont know how to implement dummy functions for 'lock' and 'unlock'. Having them empty will result in 'segmentation fault'.
Can someone tell me how to implement 'lock' and 'unlock' as dummy functions (without functionality in them and without them causing crashes)?
Cheers, and thx in advance!