[vlc-devel] [PATCH v4 7/7] libvlc: don't force "dec-dev" with libvlc_video_set_callbacks()
Steve Lhomme
robux4 at ycbcr.xyz
Fri Mar 13 13:28:38 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_hw_acceleration().
---
lib/media_player.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/lib/media_player.c b/lib/media_player.c
index 3e975fef6da..8c6ba434dba 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