vout_thread_t *p_vout;
int i_speed;
- char *psz_title;
-
vlc_mutex_t lock;
vlc_cond_t wait;
bool b_exit;
static void *Thread( void * );
-static char *TitleGet( vlc_object_t * );
-
/*****************************************************************************
* Open: open a scope effect plugin
*****************************************************************************/
date_Set( &p_thread->date, 0 );
p_thread->i_channels = aout_FormatNbChannels( &p_filter->fmt_in.audio );
- p_thread->psz_title = TitleGet( VLC_OBJECT( p_filter ) );
-
if( vlc_clone( &p_thread->thread,
Thread, p_thread, VLC_THREAD_PRIORITY_LOW ) )
{
vlc_object_release( p_thread->p_vout );
vlc_mutex_destroy( &p_thread->lock );
vlc_cond_destroy( &p_thread->wait );
- free( p_thread->psz_title );
free( p_thread );
free( p_sys );
return VLC_EGENERIC;
if( date_Get( &i_pts ) + GOOM_DELAY <= mdate() ) continue;
plane = goom_update( p_plugin_info, p_data, 0, 0.0,
- p_thread->psz_title, NULL );
-
- free( p_thread->psz_title );
- p_thread->psz_title = NULL;
+ NULL, NULL );
while( !( p_pic = vout_GetPicture( p_thread->p_vout ) ) )
{
free( p_sys );
}
-static char *TitleGet( vlc_object_t *p_this )
-{
- input_thread_t *p_input = playlist_CurrentInput( pl_Get( p_this ) );
- if( p_input )
- {
- char *psz_title = input_item_GetTitleFbName( input_GetItem( p_input ) );
- vlc_object_release( p_input );
- return psz_title;
- }
- return NULL;
-}