Ejemplo n.º 1
0
int FBVLCMarqueeAPI::get_marquee_int(libvlc_video_marquee_option_t o)
{
    FBVLCPtr plg = getPlugin();
    vlc_player& p = plg->get_player();

    return libvlc_video_get_marquee_int(p.get_mp(), o);
}
Ejemplo n.º 2
0
HRESULT VLCMarquee::do_get_int(unsigned idx, LONG *val)
{
    if( NULL == val )
        return E_POINTER;

    libvlc_media_player_t *p_md;
    HRESULT hr = getMD(&p_md);
    if( SUCCEEDED(hr) )
    {
        *val = libvlc_video_get_marquee_int(p_md, idx);
    }
    return hr;
}