[vlc-devel] [PATCH v4 3/7] libvlc: don't force the hardware decoder type with the callback output

Steve Lhomme robux4 at ycbcr.xyz
Fri Mar 13 13:28:34 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 50d49336403..1c0bd2d9bc7 100644
--- a/lib/media_player.c
+++ b/lib/media_player.c
@@ -1073,12 +1073,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" );
     }
     else if ( engine == libvlc_video_engine_d3d9 )
     {
         var_SetString ( mp, "vout", "direct3d9" );
-        var_SetString ( mp, "dec-dev", "d3d9" );
     }
     else if ( engine == libvlc_video_engine_disable )
     {
-- 
2.17.1



More information about the vlc-devel mailing list