[vlc-commits] Revert "lib/video: set "video" prop to true when changing video tracks"

Thomas Guillem git at videolan.org
Tue Mar 28 14:25:58 CEST 2017


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Tue Mar 28 14:07:20 2017 +0200| [72a00334d79a487b89b06a30d57d8959aaa679ee] | committer: Thomas Guillem

Revert "lib/video: set "video" prop to true when changing video tracks"

This reverts commit 3add8370591bde4469720a368810fbd0e5e6e531.

This commit was incomplete (missing audio/spu support) and is now done in vlc
core. See 8bc1b9ff8747be1b87730bea14a1b3778aed0bd6.

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

 lib/video.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/lib/video.c b/lib/video.c
index d25fadf..d328762 100644
--- a/lib/video.c
+++ b/lib/video.c
@@ -639,8 +639,6 @@ int libvlc_video_set_track( libvlc_media_player_t *p_mi, int i_track )
     {
         if( i_track == val_list.p_list->p_values[i].i_int )
         {
-            if( var_SetBool( p_input_thread, "video", true ) < 0)
-                break;
             if( var_SetInteger( p_input_thread, "video-es", i_track ) < 0 )
                 break;
             i_ret = 0;



More information about the vlc-commits mailing list