[vlc-commits] input: es_out: no group change on ES_SET_FMT

Francois Cartegnie git at videolan.org
Thu Nov 1 13:06:52 CET 2018


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Oct 31 15:21:05 2018 +0100| [aa643de4f9a5668774de713cfe7233b8db9e3ee5] | committer: Francois Cartegnie

input: es_out: no group change on ES_SET_FMT

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

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

diff --git a/src/input/es_out.c b/src/input/es_out.c
index fa05a16e91..b6e71f6705 100644
--- a/src/input/es_out.c
+++ b/src/input/es_out.c
@@ -2702,7 +2702,8 @@ static int EsOutVaControlLocked( es_out_t *out, int i_query, va_list args )
         es_out_id_t *es = va_arg( args, es_out_id_t * );
         es_format_t *p_fmt = va_arg( args, es_format_t * );
         if( es == NULL || es->fmt.i_cat != p_fmt->i_cat
-         || es->fmt.i_id != p_fmt->i_id )
+         || es->fmt.i_id != p_fmt->i_id
+         || es->fmt.i_group != p_fmt->i_group )
             return VLC_EGENERIC;
 
         es_format_Clean( &es->fmt );



More information about the vlc-commits mailing list