X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Fvideo_filter%2Fosdmenu.c;h=58b593963e977b359a3eff98e0657134c100cfb1;hb=4b00ff6ec805784d3b136591f0a4cf460ac36af9;hp=28818f3ff231e887cde2f17332afc3cdd751cdcc;hpb=cfe329716749b0b47964195e639dd4c740273ea6;p=vlc diff --git a/modules/video_filter/osdmenu.c b/modules/video_filter/osdmenu.c index 28818f3ff2..58b593963e 100644 --- a/modules/video_filter/osdmenu.c +++ b/modules/video_filter/osdmenu.c @@ -462,8 +462,9 @@ static subpicture_t *Filter( filter_t *p_filter, mtime_t i_date ) return NULL; /* we are too early, so wait */ /* Allocate the subpicture internal data. */ - p_spu = p_filter->pf_sub_buffer_new( p_filter ); - if( !p_spu ) return NULL; + p_spu = filter_NewSubpicture( p_filter ); + if( !p_spu ) + return NULL; p_spu->b_ephemer = true; p_spu->b_fade = true;