[vlc-devel] [PATCH 3/3] input/es_out: properly update/delete information on ES changes

Filip Roséen filip at videolabs.io
Sun Jul 17 11:35:21 CEST 2016


>      diff --git a/src/input/es_out.c b/src/input/es_out.c
>      index e24bf32..faa31a2 100644
>      --- a/src/input/es_out.c
>      +++ b/src/input/es_out.c
>      @@ -994,6 +994,8 @@ static void EsOutProgramSelect( es_out_t *out, es_out_pgrm_t *p_pgrm )
>                   if( p_sys->es[i]->p_pgrm == old && EsIsSelected( p_sys->es[i] ) &&
>                       p_sys->i_mode != ES_OUT_MODE_ALL )
>                       EsUnselect( out, p_sys->es[i], true );
>      +
>      +            EsDeleteInfo( out, p_sys->es[i] );
>               }
>      No, we don't want to hide unselected programs.

Attached is a patch which leaves the previous EsOutProgramSelect
functionality related to ES information as before, while still fixing the
issues where EsOutDel (and related functions) does not propagate its
associated information correctly.

Thank you for the feedback!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20160717/b8b61af5/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-input-es_out-properly-update-delete-information-on-E.patch
Type: text/x-diff
Size: 2600 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20160717/b8b61af5/attachment.patch>


More information about the vlc-devel mailing list