Changeset acd2a608009e5ba7e58d9787b7b954701c52f1e2
- Timestamp:
- 28/04/05 09:45:51
(4 years ago)
- Author:
- Laurent Aimar <fenrir@videolan.org>
- git-committer:
- Laurent Aimar <fenrir@videolan.org> 1114674351 +0000
- git-parent:
[92ee1ca09f64792406f73406d41952556321d2c8]
- git-author:
- Laurent Aimar <fenrir@videolan.org> 1114674351 +0000
- Message:
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r16b435f |
racd2a60 |
|
| 500 | 500 | * Delete a program |
|---|
| 501 | 501 | */ |
|---|
| 502 | | static void EsOutProgramDel( es_out_t *out, int i_group ) |
|---|
| | 502 | static int EsOutProgramDel( es_out_t *out, int i_group ) |
|---|
| 503 | 503 | { |
|---|
| 504 | 504 | es_out_sys_t *p_sys = out->p_sys; |
|---|
| … | … | |
| 517 | 517 | } |
|---|
| 518 | 518 | |
|---|
| 519 | | if( p_pgrm == NULL ) return; |
|---|
| | 519 | if( p_pgrm == NULL ) |
|---|
| | 520 | return VLC_EGENERIC; |
|---|
| 520 | 521 | |
|---|
| 521 | 522 | if( p_pgrm->i_es ) |
|---|
| … | … | |
| 523 | 524 | msg_Dbg( p_input, "can't delete program %d which still has %i ES", |
|---|
| 524 | 525 | i_group, p_pgrm->i_es ); |
|---|
| 525 | | return; |
|---|
| | 526 | return VLC_EGENERIC; |
|---|
| 526 | 527 | } |
|---|
| 527 | 528 | |
|---|
| … | … | |
| 539 | 540 | |
|---|
| 540 | 541 | var_SetBool( p_sys->p_input, "intf-change", VLC_TRUE ); |
|---|
| | 542 | |
|---|
| | 543 | return VLC_SUCCESS; |
|---|
| 541 | 544 | } |
|---|
| 542 | 545 | |
|---|
| … | … | |
| 1058 | 1061 | if( es->p_pgrm->i_es == 0 ) |
|---|
| 1059 | 1062 | { |
|---|
| 1060 | | msg_Warn( p_sys->p_input, "Program doesn't contain anymore ES, " |
|---|
| 1061 | | "TODO cleaning ?" ); |
|---|
| | 1063 | msg_Dbg( p_sys->p_input, "Program doesn't contain anymore ES" ); |
|---|
| 1062 | 1064 | } |
|---|
| 1063 | 1065 | |
|---|