[vlc-commits] player: add missing vars

Victorien Le Couviour--Tuffet git at videolan.org
Tue Nov 27 13:16:17 CET 2018


vlc | branch: master | Victorien Le Couviour--Tuffet <victorien.lecouviour.tuffet at gmail.com> | Wed Nov 21 12:09:48 2018 +0100| [5e9d8953d34077a1feea13ca0dd6fab5a49845c0] | committer: Thomas Guillem

player: add missing vars

These variables are created only to speed-up var_Inherit from the
input_thread_t or other childs.

Signed-off-by: Thomas Guillem <thomas at gllm.fr>

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

 src/input/player.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/input/player.c b/src/input/player.c
index 02890bb522..59d2fdb774 100644
--- a/src/input/player.c
+++ b/src/input/player.c
@@ -3525,6 +3525,7 @@ vlc_player_New(vlc_object_t *parent,
     VAR_CREATE("rate", VLC_VAR_FLOAT | VLC_VAR_DOINHERIT);
     VAR_CREATE("sub-fps", VLC_VAR_FLOAT | VLC_VAR_DOINHERIT);
     VAR_CREATE("sub-text-scale", VLC_VAR_INTEGER | VLC_VAR_DOINHERIT);
+    VAR_CREATE("demux-filter", VLC_VAR_STRING | VLC_VAR_DOINHERIT);
 
     /* vout variables */
     VAR_CREATE("video-splitter", VLC_VAR_STRING | VLC_VAR_DOINHERIT);
@@ -3536,10 +3537,12 @@ vlc_player_New(vlc_object_t *parent,
     VAR_CREATE("video-wallpaper", VLC_VAR_BOOL | VLC_VAR_DOINHERIT);
 
     /* aout variables */
+    VAR_CREATE("audio-filter", VLC_VAR_STRING | VLC_VAR_DOINHERIT);
     VAR_CREATE("mute", VLC_VAR_BOOL);
     VAR_CREATE("corks", VLC_VAR_INTEGER);
 
     /* es_out variables */
+    VAR_CREATE("sout", VLC_VAR_STRING | VLC_VAR_DOINHERIT);
     VAR_CREATE("video", VLC_VAR_BOOL | VLC_VAR_DOINHERIT);
     VAR_CREATE("sout-video", VLC_VAR_BOOL | VLC_VAR_DOINHERIT);
     VAR_CREATE("audio", VLC_VAR_BOOL | VLC_VAR_DOINHERIT);



More information about the vlc-commits mailing list