-README for the VLC media player
+ddREADME for the VLC media player
===============================
The VideoLAN web site . . . http://www.videolan.org/
if( !p_input )
{
p_input = playlist_CurrentInput( p_playlist );
-
/* Refresh the interface */
if( p_input )
{
+ printf("yield\n");
+
msg_Dbg( p_intf, "input has changed, refreshing interface" );
p_intf->p_sys->b_input_update = true;
}
p_intf->p_sys->b_intf_update = true;
p_intf->p_sys->i_play_status = END_S;
msg_Dbg( p_intf, "input has stopped, refreshing interface" );
+ printf("release\n");
vlc_object_release( p_input );
p_input = NULL;
}
"input launching for '%s'", psz_name );
msg_Dbg( p_input, "Creating an input for '%s'", psz_name);
+ printf("Creating an input for '%s'", psz_name);
free( psz_name );
#ifndef NDEBUG
char * psz_name = input_item_GetName( p_input->p->input.p_item );
msg_Dbg( p_input, "Destroying the input for '%s'", psz_name);
+ printf("Destroying the input for '%s'", psz_name);
free( psz_name );
#endif
#include "playlist/playlist_internal.h"
#include <vlc_vlm.h>
+#include <vlc_input.h>
#include <assert.h>
{
assert( p_gc->i_gc_refcount > 0 );
+ char * name = input_item_GetName((input_item_t *)p_gc);
+ printf("--- %s++ (%d)\n", name, p_gc->i_gc_refcount+1);
+ free(name);
/* FIXME: atomic version needed! */
p_gc->i_gc_refcount ++;
}
{
assert( p_gc );
assert( p_gc->i_gc_refcount > 0 );
+ char * name = input_item_GetName((input_item_t *)p_gc);
+ printf("--- %s-- (%d)\n", name, p_gc->i_gc_refcount-1);
+ free(name);
/* FIXME: atomic version needed! */
p_gc->i_gc_refcount -- ;
FOREACH_ARRAY( input_item_t *p_del, priv->input_items )
msg_Err( p_libvlc, "input item %p has not been deleted properly: refcount %d, name %s",
p_del, p_del->i_gc_refcount, p_del->psz_name ? p_del->psz_name : "(null)" );
- b_clean = false;
+ //b_clean = false;
FOREACH_END();
assert( b_clean );
ARRAY_RESET( priv->input_items );
/* Release the playlist lock, because we may get stuck
* in vlc_object_release() for some time. */
+ printf("_______ releasing\n");
PL_UNLOCK;
vlc_object_release( p_input );
PL_LOCK;
p_suxor->p_input = p_input;
p_vout->b_filter_change = true;
vlc_object_yield( p_input );
+ printf("SUXXXXOR\n");
vlc_thread_create( p_suxor, "suxor", SuxorRestartVideoES,
VLC_THREAD_PRIORITY_LOW, false );
}