*****************************************************************************/
#include <vlc/vlc.h>
+#include <vlc_input.h>
#include "history.h"
history_t *history_New( void )
{
history_t *p_new_history;
-
+
p_new_history = calloc( 1, sizeof( struct history_t ) );
if( p_new_history == NULL ) return NULL;
if( p_item == NULL )
fprintf( stderr, "HISTORY: [%d] NULL\n", i );
else
+ {
+ char *psz_uri = input_item_GetURI( p_item );
fprintf( stderr, "HISTORY: [%d] %p (%p->%s)\n", i, p_item,
- p_item->psz_uri, p_item->psz_uri );
+ psz_uri, psz_uri );
+ free( psz_uri );
+ }
}
}