]> git.sesse.net Git - vlc/commitdiff
vout: attach picture heap to temporary picture, so that modules (such as blend) have...
authorDamien Fouilleul <damienf@videolan.org>
Wed, 23 May 2007 16:09:26 +0000 (16:09 +0000)
committerDamien Fouilleul <damienf@videolan.org>
Wed, 23 May 2007 16:09:26 +0000 (16:09 +0000)
src/video_output/vout_pictures.c

index 5290af2981e9ea1887d7aa0e3758d882fc1b34a1..dd53f3e7ed329eba73f71e089cf4b43fdef48053 100644 (file)
@@ -376,6 +376,8 @@ picture_t * vout_RenderPicture( vout_thread_t *p_vout, picture_t *p_pic,
                                   p_vout->fmt_out.i_aspect );
             p_tmp_pic->i_type = MEMORY_PICTURE;
             p_tmp_pic->i_status = RESERVED_PICTURE;
+            /* some modules (such as blend)  needs to know the extra information in picture heap */
+            p_tmp_pic->p_heap = &p_vout->output;
         }
 
         /* Convert image to the first direct buffer */