Commit 3d01b088 authored by Damien Fouilleul's avatar Damien Fouilleul

vout: attach picture heap to temporary picture, so that modules (such as...

vout: attach picture heap to temporary picture, so that modules (such as blend) have access to the extra info in heap
parent 4149b947
...@@ -376,6 +376,8 @@ picture_t * vout_RenderPicture( vout_thread_t *p_vout, picture_t *p_pic, ...@@ -376,6 +376,8 @@ picture_t * vout_RenderPicture( vout_thread_t *p_vout, picture_t *p_pic,
p_vout->fmt_out.i_aspect ); p_vout->fmt_out.i_aspect );
p_tmp_pic->i_type = MEMORY_PICTURE; p_tmp_pic->i_type = MEMORY_PICTURE;
p_tmp_pic->i_status = RESERVED_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 */ /* Convert image to the first direct buffer */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment