From d0b88cac552b728700daff48ad48c769672f90fb Mon Sep 17 00:00:00 2001 From: Francois Cartegnie Date: Thu, 28 Sep 2017 12:20:09 +0200 Subject: [PATCH] vlc_es_out: update comments to avoid es state control misuses --- include/vlc_es_out.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/vlc_es_out.h b/include/vlc_es_out.h index f8d7aa1b2c..fbed8bd3ae 100644 --- a/include/vlc_es_out.h +++ b/include/vlc_es_out.h @@ -35,7 +35,7 @@ enum es_out_query_e { - /* set ES selected for the es category (audio/video/spu) */ + /* set or change the selected ES in its category (audio/video/spu) */ ES_OUT_SET_ES, /* arg1= es_out_id_t* */ ES_OUT_RESTART_ES, /* arg1= es_out_id_t* */ /* Restart all ES, destroying and recreating decoder/sout and potential @@ -45,7 +45,8 @@ enum es_out_query_e /* set 'default' tag on ES (copied across from container) */ ES_OUT_SET_ES_DEFAULT, /* arg1= es_out_id_t* */ - /* force selection/unselection of the ES (bypass current mode) */ + /* force (un)selection of the ES (bypass current mode) + XXX: this will not change the state of any other ES ! (see SET_ES) */ ES_OUT_SET_ES_STATE,/* arg1= es_out_id_t* arg2=bool */ ES_OUT_GET_ES_STATE,/* arg1= es_out_id_t* arg2=bool* */ -- 2.11.4.GIT