Commit 12106a08 authored by Laurent Aimar's avatar Laurent Aimar

Removed a little hack in subpicture cache code.

parent 123e35c9
...@@ -814,9 +814,8 @@ static void SpuRenderRegion( spu_t *p_spu, ...@@ -814,9 +814,8 @@ static void SpuRenderRegion( spu_t *p_spu,
p_pic = NULL; p_pic = NULL;
if( p_scale->p_module ) if( p_scale->p_module )
{ {
picture_t picture = p_region->picture; picture_Yield( &p_region->picture );
picture.pf_release = NULL; /* That's an ugly hack */ p_pic = p_scale->pf_video_filter( p_scale, &p_region->picture );
p_pic = p_scale->pf_video_filter( p_scale, &picture );
} }
if( p_pic ) if( p_pic )
{ {
......
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