[vlc-commits] es_out: remove no-op

Thomas Guillem git at videolan.org
Tue Feb 18 14:36:30 CET 2020


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Thu Feb 13 15:19:06 2020 +0100| [b78fc44cf8fed4875ba63d8b69150ad2b123b090] | committer: Thomas Guillem

es_out: remove no-op

An es is always created not scrambled. Only ES_OUT_SET_ES_SCRAMBLED_STATE can
change that state.

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

 src/input/es_out.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/input/es_out.c b/src/input/es_out.c
index 9407c2377b..5c91ad8ad6 100644
--- a/src/input/es_out.c
+++ b/src/input/es_out.c
@@ -1973,9 +1973,6 @@ static es_out_id_t *EsOutAddSlaveLocked( es_out_t *out, const es_format_t *fmt,
     EsOutUpdateInfo( out, es, NULL );
     EsOutSelect( out, es, false );
 
-    if( es->b_scrambled )
-        EsOutProgramUpdateScrambled( out, es->p_pgrm );
-
     return es;
 }
 



More information about the vlc-commits mailing list