[vlc-devel] [PATCH 3/3] input: With multiple video streams, select only one
Juho Vähä-Herttua
juhovh at iki.fi
Fri Jul 16 13:50:53 CEST 2010
---
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;
+ }
}
if( i_wanted == es->i_channel && !EsIsSelected( es ) )
--
1.7.0.4
More information about the vlc-devel
mailing list