[vlc-devel] [PATCH v3 14/14] libvlc: don't force "dec-dev" with libvlc_video_set_callbacks()
Steve Lhomme
robux4 at ycbcr.xyz
Thu Feb 13 16:44:55 CET 2020
It should be possible to use vmem with hardware decoding, until now it was
disabled.
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 76cc52eb24c..e2ba77f2a6a 100644
--- a/lib/media_player.c
+++ b/lib/media_player.c
@@ -1011,7 +1011,6 @@ void libvlc_video_set_callbacks( libvlc_media_player_t *mp,
var_SetAddress( mp, "vmem-unlock", unlock_cb );
var_SetAddress( mp, "vmem-display", display_cb );
var_SetAddress( mp, "vmem-data", opaque );
- var_SetString( mp, "dec-dev", "none" );
var_SetString( mp, "vout", "vmem" );
var_SetString( mp, "window", "dummy" );
}
--
2.17.1
More information about the vlc-devel
mailing list