def libvlc_media_player_new_from_media(p_md):
    f = _Cfunctions.get('libvlc_media_player_new_from_media', None) or \
        _Cfunction('libvlc_media_player_new_from_media', ((1,),), class_result(MediaPlayer),
                    ctypes.c_void_p, Media)
    if not __debug__:  # i.e. python -O or -OO
        global libvlc_media_player_new_from_media
        libvlc_media_player_new_from_media = f
    return f(p_md)
Create a Media Player object from a Media.
dataset/ETHPy150Open disqus/playa/playa/lib/vlc.py/libvlc_media_player_new_from_media