return NULL;
}
- stats_Create( p_vout, "displayed_pictures", VLC_VAR_INTEGER,
- STATS_COUNTER );
- stats_Create( p_vout, "lost_pictures", VLC_VAR_INTEGER, STATS_COUNTER );
+ stats_Create( p_vout, "displayed_pictures",STATS_DISPLAYED_PICTURES,
+ VLC_VAR_INTEGER, STATS_COUNTER );
+ stats_Create( p_vout, "lost_pictures", STATS_LOST_PICTURES,
+ VLC_VAR_INTEGER, STATS_COUNTER );
/* Initialize pictures - translation tables and functions
* will be initialized later in InitThread */
}
msg_Warn( p_vout, "late picture skipped ("I64Fd")",
current_date - display_date );
- stats_UpdateInteger( p_vout, "lost_pictures", 1 , NULL);
+ stats_UpdateInteger( p_vout, STATS_LOST_PICTURES, 1 , NULL);
vlc_mutex_unlock( &p_vout->picture_lock );
continue;
p_picture->i_status = DESTROYED_PICTURE;
p_vout->i_heap_size--;
}
- stats_UpdateInteger( p_vout, "lost_pictures", 1, NULL );
+ stats_UpdateInteger( p_vout, STATS_LOST_PICTURES, 1, NULL );
msg_Warn( p_vout, "vout warning: early picture skipped "
"("I64Fd")", display_date - current_date
- p_vout->i_pts_delay );
/*
* Perform rendering
*/
- stats_UpdateInteger( p_vout, "displayed_pictures", 1, NULL );
+ stats_UpdateInteger( p_vout, STATS_DISPLAYED_PICTURES, 1, NULL );
p_directbuffer = vout_RenderPicture( p_vout, p_picture, p_subpic );
/*