[vlc-commits] input: es_out: early fail selection with unknown es

Francois Cartegnie git at videolan.org
Thu Sep 22 16:52:35 CEST 2016


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Sep 22 16:02:12 2016 +0200| [acdb4e9916f1788f62b401939d52e88f8b4d2243] | committer: Francois Cartegnie

input: es_out: early fail selection with unknown es

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=acdb4e9916f1788f62b401939d52e88f8b4d2243
---

 src/input/es_out.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/input/es_out.c b/src/input/es_out.c
index 1f8c967..050caa0 100644
--- a/src/input/es_out.c
+++ b/src/input/es_out.c
@@ -1799,7 +1799,7 @@ static void EsOutSelect( es_out_t *out, es_out_id_t *es, bool b_force )
     {
         int i_wanted  = -1;
 
-        if( es->p_pgrm != p_sys->p_pgrm )
+        if( es->p_pgrm != p_sys->p_pgrm || !p_esprops )
             return;
 
         if( i_cat == AUDIO_ES )



More information about the vlc-commits mailing list