]> git.sesse.net Git - vlc/blobdiff - modules/video_filter/erase.c
Rework a bit the OpenDialog calls in order to fix the double-click issue when transco...
[vlc] / modules / video_filter / erase.c
index cde3a8a362b68f8a3b52ca2b220398d54ec7c520..33f507bf2ef86099b7b04d6bfd7d046dc9bd2d3f 100644 (file)
@@ -202,10 +202,9 @@ static picture_t *Filter( filter_t *p_filter, picture_t *p_pic )
 
     if( !p_pic ) return NULL;
 
-    p_outpic = p_filter->pf_vout_buffer_new( p_filter );
+    p_outpic = filter_NewPicture( p_filter );
     if( !p_outpic )
     {
-        msg_Warn( p_filter, "can't get output picture" );
         picture_Release( p_pic );
         return NULL;
     }