vlc.VideoUnlockCb
- class vlc.VideoUnlockCb
Bases:
ctypes.c_void_pCallback prototype to unlock a picture buffer.
When the video frame decoding is complete, the unlock callback is invoked. This callback might not be needed at all. It is only an indication that the application can now read the pixel values if it needs to.
Note
A picture buffer is unlocked after the picture is decoded, but before the picture is displayed.
- Parameters:
opaque – private pointer as passed to
libvlc_video_set_callbacks()[IN].picture – private pointer returned from the
VideoLockCb. callback [IN].planes – pixel planes as defined by the
VideoLockCb. callback (this parameter is only for convenience) [IN].
Initialize self. See help(type(self)) for accurate signature.