def libvlc_media_player_set_rate(p_mi, rate):
    f = _Cfunctions.get('libvlc_media_player_set_rate', None) or \
        _Cfunction('libvlc_media_player_set_rate', ((1,), (1,),), None,
                    ctypes.c_int, MediaPlayer, ctypes.c_float)
    if not __debug__:  # i.e. python -O or -OO
        global libvlc_media_player_set_rate
        libvlc_media_player_set_rate = f
    return f(p_mi, rate)
Set movie play rate.
dataset/ETHPy150Open disqus/playa/playa/lib/vlc.py/libvlc_media_player_set_rate