- snprintf( path, 255, "object:%p", p_cache );
- var_SetString( p_vout, "snapshot-path", path );
- var_SetString( p_vout, "snapshot-format", "png" );
-
- vlc_object_lock( p_cache );
- vout_Control( p_vout, VOUT_SNAPSHOT );
- vlc_object_release( p_vout );
-
- p_snapshot = ( snapshot_t* ) p_cache->p_private;
- vlc_object_unlock( p_cache );
- vlc_object_release( p_cache );