[vlc-devel] commit: Use picture helpers. (Laurent Aimar )
git version control
git at videolan.org
Fri Jul 18 21:58:00 CEST 2008
vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Fri Jul 18 22:00:16 2008 +0200| [96d0ab7fb39e46fa0bf0ef5e7ad076537899b14d]
Use picture helpers.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=96d0ab7fb39e46fa0bf0ef5e7ad076537899b14d
---
modules/gui/fbosd.c | 6 +++---
modules/gui/skins2/src/file_bitmap.cpp | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/modules/gui/fbosd.c b/modules/gui/fbosd.c
index c165af6..7f92dec 100644
--- a/modules/gui/fbosd.c
+++ b/modules/gui/fbosd.c
@@ -521,7 +521,7 @@ static void Destroy( vlc_object_t *p_this )
if( p_sys->p_image )
image_HandlerDelete( p_sys->p_image );
if( p_sys->p_overlay )
- p_sys->p_overlay->pf_release( p_sys->p_overlay );
+ picture_Release( p_sys->p_overlay );
free( p_sys->p_style );
free( p_sys );
@@ -1207,7 +1207,7 @@ static void Render( intf_thread_t *p_intf, struct fbosd_render_t *render )
{
RenderPicture( p_intf, render->i_x, render->i_y,
p_pic, p_sys->p_overlay );
- p_pic->pf_release( p_pic );
+ picture_Release( p_pic );
}
}
else if( render->i_type == FBOSD_RENDER_TEXT )
@@ -1232,7 +1232,7 @@ static void Render( intf_thread_t *p_intf, struct fbosd_render_t *render )
{
RenderPicture( p_intf, render->i_x, render->i_y,
p_text, p_sys->p_overlay );
- p_text->pf_release( p_text );
+ picture_Release( p_text );
}
#endif
}
diff --git a/modules/gui/skins2/src/file_bitmap.cpp b/modules/gui/skins2/src/file_bitmap.cpp
index a94af88..e46a61c 100644
--- a/modules/gui/skins2/src/file_bitmap.cpp
+++ b/modules/gui/skins2/src/file_bitmap.cpp
@@ -77,7 +77,7 @@ FileBitmap::FileBitmap( intf_thread_t *pIntf, image_handler_t *pImageHandler,
pSrc += pPic->p->i_pitch - m_width * 4;
}
- pPic->pf_release( pPic );
+ picture_Release( pPic );
return;
}
More information about the vlc-devel
mailing list