Changeset e58e8101f460dab34942a13016d9032a12dc3d49

Show
Ignore:
Timestamp:
21/02/05 14:06:08 (4 years ago)
Author:
Yoann Peronneau <yoann@videolan.org>
git-committer:
Yoann Peronneau <yoann@videolan.org> 1108991168 +0000
git-parent:

[dffe74e2d2eb9591cc08cf03a97e449d0091cf8b]

git-author:
Yoann Peronneau <yoann@videolan.org> 1108991168 +0000
Message:

* src/misc/vlm.c: added 'inputdeln <num>' to delete input #num (starts from 1)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/misc/vlm.c

    r1996bfb re58e810  
    10181018        } 
    10191019    } 
     1020    else if( !strcmp( psz_cmd, "inputdeln" ) ) 
     1021    { 
     1022        int index = atoi( psz_value ); 
     1023        if( index > 0 && index <= media->i_input ) 
     1024        { 
     1025            TAB_REMOVE( media->i_input, media->input, media->input[index-1] ); 
     1026        } 
     1027    } 
    10201028    else if( !strcmp( psz_cmd, "output" ) ) 
    10211029    {