-#if 0
-static int OpenScaling( intf_thread_t *p_intf )
-{
- if( p_intf->p_sys->p_scale ) return VLC_EGENERIC;
-
- p_intf->p_sys->p_scale =
- vlc_object_create( p_intf, VLC_OBJECT_FILTER );
- vlc_object_attach( p_intf->p_sys->p_scale, p_intf );
- p_intf->p_sys->p_scale->fmt_out.video.i_chroma =
- p_intf->p_sys->p_scale->fmt_in.video.i_chroma =
- p_intf->p_sys->fmt_out.i_chroma;
-
- /* XXX: We'll also be using it for YUVA and RGBA blending ... */
- p_intf->p_sys->p_scale->fmt_in.video.i_width =
- p_intf->p_sys->p_scale->fmt_in.video.i_height = 32;
- p_intf->p_sys->p_scale->fmt_out.video.i_width =
- p_intf->p_sys->p_scale->fmt_out.video.i_height = 16;
-
- p_intf->p_sys->p_scale->p_module =
- module_Need( p_intf->p_sys->p_scale, "video filter2", 0, 0 );
-
- if( !p_intf->p_sys->p_scale->p_module )
- return VLC_EGENERIC;
-
- return VLC_SUCCESS;
-}
-
-static int CloseScaling( intf_thread_t *p_intf )
-{
- if( p_intf->p_sys->p_scale )
- {
- if( p_intf->p_sys->p_scale->p_module )
- module_Unneed( p_intf->p_sys->p_scale,
- p_intf->p_sys->p_scale->p_module );
-
- vlc_object_detach( p_intf->p_sys->p_scale );
- vlc_object_release( p_intf->p_sys->p_scale );
- }
-}
-#endif