Changeset 16b435f09be15d5241a6d4897065cd0a605a4992

Show
Ignore:
Timestamp:
28/04/05 09:26:04 (4 years ago)
Author:
Laurent Aimar <fenrir@videolan.org>
git-committer:
Laurent Aimar <fenrir@videolan.org> 1114673164 +0000
git-parent:

[4bd2fb3107420aed855cd72f557fc6eed8e508d2]

git-author:
Laurent Aimar <fenrir@videolan.org> 1114673164 +0000
Message:

es_out*: added ES_OUT_DEL_GROUP
ts.c: use ES_OUT_DEL_GROUP to remove old program.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • include/vlc_es_out.h

    r14106cb r16b435f  
    8181    /* Set meta data for group (dynamic) */ 
    8282    ES_OUT_SET_GROUP_META,  /* arg1=int i_group arg2=vlc_meta_t */ 
     83    /* */ 
     84    ES_OUT_DEL_GROUP,       /* arg1=int i_group */ 
    8385}; 
    8486 
  • modules/demux/ts.c

    r21a3762 r16b435f  
    29422942        for( i = 0; i < i_pmt_rm; i++ ) 
    29432943        { 
     2944            int i_prg; 
    29442945            if( p_sys->b_dvb_control ) 
    29452946            { 
     
    29482949                                    pmt_rm[i]->i_pid, VLC_FALSE ) ) 
    29492950                    p_sys->b_dvb_control = VLC_FALSE; 
     2951            } 
     2952 
     2953            for( i_prg = 0; i_prg < pmt_rm[i]->psi->i_prg; i_prg++ ) 
     2954            { 
     2955                const int i_number = pmt_rm[i]->psi->prg[i_prg]->i_number; 
     2956                if( i_number != 0 ) 
     2957                    es_out_Control( p_demux->out, ES_OUT_DEL_GROUP, i_number ); 
    29502958            } 
    29512959 
  • src/input/es_out.c

    r4bd2fb3 r16b435f  
    13641364            return VLC_SUCCESS; 
    13651365        } 
     1366        case ES_OUT_DEL_GROUP: 
     1367        { 
     1368            int i_group = (int)va_arg( args, int ); 
     1369 
     1370            return EsOutProgramDel( out, i_group ); 
     1371        } 
    13661372 
    13671373        default: