[vlc-commits] lib/media_player: use default deinterlace values

Thomas Guillem git at videolan.org
Wed Feb 8 15:12:15 CET 2017


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Tue Jan 24 13:32:14 2017 +0100| [49c6f6f41621aae0386171af44a3f65ab12a1f90] | committer: Jean-Baptiste Kempf

lib/media_player: use default deinterlace values

Inherit "deinterlace" and "deinterlace-mode" values from libvlc (values are set
from libvlc-module.c).

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 lib/media_player.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/media_player.c b/lib/media_player.c
index 9ac9554..1ed1d84 100644
--- a/lib/media_player.c
+++ b/lib/media_player.c
@@ -644,8 +644,8 @@ libvlc_media_player_new( libvlc_instance_t *instance )
     var_Create (mp, "zoom", VLC_VAR_FLOAT | VLC_VAR_DOINHERIT);
     var_Create (mp, "aspect-ratio", VLC_VAR_STRING);
     var_Create (mp, "crop", VLC_VAR_STRING);
-    var_Create (mp, "deinterlace", VLC_VAR_INTEGER);
-    var_Create (mp, "deinterlace-mode", VLC_VAR_STRING);
+    var_Create (mp, "deinterlace", VLC_VAR_INTEGER | VLC_VAR_DOINHERIT);
+    var_Create (mp, "deinterlace-mode", VLC_VAR_STRING | VLC_VAR_DOINHERIT);
 
     var_Create (mp, "vbi-page", VLC_VAR_INTEGER);
     var_SetInteger (mp, "vbi-page", 100);



More information about the vlc-commits mailing list