[vlc-devel] [PATCH v3 11/14] libvlc: don't force "dec-dev" with libvlc_media_player_set_nsobject()

Steve Lhomme robux4 at ycbcr.xyz
Thu Feb 13 16:44:52 CET 2020


It should use the default value or the one set with
libvlc_video_set_video_acceleration().
---
 lib/media_player.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/media_player.c b/lib/media_player.c
index 077b3077f5b..6e01efea62c 100644
--- a/lib/media_player.c
+++ b/lib/media_player.c
@@ -1126,7 +1126,6 @@ void libvlc_media_player_set_nsobject( libvlc_media_player_t *p_mi,
 {
     assert (p_mi != NULL);
 #ifdef __APPLE__
-    var_SetString (p_mi, "dec-dev", "");
     var_SetString (p_mi, "vout", "");
     var_SetString (p_mi, "window", "");
     var_SetAddress (p_mi, "drawable-nsobject", drawable);
-- 
2.17.1



More information about the vlc-devel mailing list