Changeset feef533df91d4ce904da75634e5638eb7375a371

Show
Ignore:
Timestamp:
28/02/08 22:58:14 (7 months ago)
Author:
Antoine Cellerier <dionoea@videolan.org>
git-committer:
Antoine Cellerier <dionoea@videolan.org> 1204235894 +0000
git-parent:

[27774650dde964c124e68fbc366f6c17a6c827ae]

git-author:
Antoine Cellerier <dionoea@videolan.org> 1204235894 +0000
Message:

Add format string variable to display frame count. ($f)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/text/strings.c

    r99fab90 rfeef533  
    720720                    } 
    721721                    break; 
     722                case 'f': 
     723                    if( p_item && p_item->p_stats ) 
     724                    { 
     725                        snprintf( buf, 10, "%d", 
     726                                  p_item->p_stats->i_displayed_pictures ); 
     727                    } 
     728                    else 
     729                    { 
     730                        sprintf( buf, b_empty_if_na ? "" : "-" ); 
     731                    } 
     732                    INSERT_STRING_NO_FREE( buf ); 
     733                    break; 
    722734                case 'g': 
    723735                    if( p_item )