vlc.py 文件源码

python
阅读 24 收藏 0 点赞 0 评论 0

项目:YoutubeMusicBot 作者: Gr3atWh173 项目源码 文件源码
def libvlc_video_update_viewpoint(p_mi, p_viewpoint, b_absolute):
    '''Update the video viewpoint information.
    @note: It is safe to call this function before the media player is started.
    @param p_mi: the media player.
    @param p_viewpoint: video viewpoint allocated via L{libvlc_video_new_viewpoint}().
    @param b_absolute: if true replace the old viewpoint with the new one. If false, increase/decrease it.
    @return: -1 in case of error, 0 otherwise @note the values are set asynchronously, it will be used by the next frame displayed.
    @version: LibVLC 3.0.0 and later.
    '''
    f = _Cfunctions.get('libvlc_video_update_viewpoint', None) or \
        _Cfunction('libvlc_video_update_viewpoint', ((1,), (1,), (1,),), None,
                    ctypes.c_int, MediaPlayer, VideoViewpoint, ctypes.c_bool)
    return f(p_mi, p_viewpoint, b_absolute)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号