[vlc-devel] [PATCH v3 04/14] libvlc: don't force the hardware decoder type with the callback output
Steve Lhomme
robux4 at ycbcr.xyz
Thu Feb 13 16:44:45 CET 2020
We shouldn't be forced to use hardware decoding with the output callback.
Direct3D11 and Direct3d9 now support using callbacks without a decoder device.
---
lib/media_player.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/lib/media_player.c b/lib/media_player.c
index a6df51f3f13..b64307aa720 100644
--- a/lib/media_player.c
+++ b/lib/media_player.c
@@ -1067,12 +1067,10 @@ bool libvlc_video_set_output_callbacks(libvlc_media_player_t *mp,
else if ( engine == libvlc_video_engine_d3d11 )
{
var_SetString ( mp, "vout", "direct3d11" );
- var_SetString ( mp, "dec-dev", "d3d11-device" );
}
else if ( engine == libvlc_video_engine_d3d9 )
{
var_SetString ( mp, "vout", "direct3d9" );
- var_SetString ( mp, "dec-dev", "d3d9-device" );
}
else if ( engine == libvlc_video_engine_disable )
{
--
2.17.1
More information about the vlc-devel
mailing list