[vlc-devel] [PATCH 3/3] input: With multiple video streams, select only one

Rémi Denis-Courmont remi at remlab.net
Fri Jul 16 14:49:35 CEST 2010


On Fri, 16 Jul 2010 14:50:53 +0300, Juho Vähä-Herttua <juhovh at iki.fi>
wrote:
> ---
>  src/input/es_out.c |    6 +++++-
>  1 files changed, 5 insertions(+), 1 deletions(-)
> 
> diff --git a/src/input/es_out.c b/src/input/es_out.c
> index a45f021..1b6f89c 100644
> --- a/src/input/es_out.c
> +++ b/src/input/es_out.c
> @@ -1870,7 +1870,11 @@ static void EsOutSelect( es_out_t *out,
es_out_id_t
> *es, bool b_force )
>          }
>          else if( i_cat == VIDEO_ES )
>          {
> -            i_wanted  = es->i_channel;
> +            /* FIXME there should be video priorities used for selection
> */
> +            if( !p_sys->p_es_video )
> +            {
> +                i_wanted  = es->i_channel;
> +            }

That's a radical semantic change... Not sure it is such a great idea...

-- 
Rémi Denis-Courmont
http://www.remlab.net
http://fi.linkedin.com/in/remidenis




More information about the vlc-devel mailing list