[vlc-devel] [PATCH 1/9] Revert "direct3d11: avoid crashing later in the decoder"
Steve Lhomme
robux4 at videolabs.io
Fri Feb 10 14:08:28 CET 2017
This reverts commit 57ff42122f34fee45d78937467c0a5285cabb911.
We are going to need to allow more textures with software decoding mixed with
direct rendering.
---
modules/video_output/win32/direct3d11.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/modules/video_output/win32/direct3d11.c b/modules/video_output/win32/direct3d11.c
index 6db8f58..2dfa0b6 100644
--- a/modules/video_output/win32/direct3d11.c
+++ b/modules/video_output/win32/direct3d11.c
@@ -726,11 +726,6 @@ static picture_pool_t *Pool(vout_display_t *vd, unsigned pool_size)
if ( sys->sys.pool != NULL )
return sys->sys.pool;
- if (pool_size > 30) {
- msg_Err(vd, "Avoid crashing when using ID3D11VideoDecoderOutputView with too many slices (%d)", pool_size);
- return NULL;
- }
-
#ifdef HAVE_ID3D11VIDEODECODER
picture_t** pictures = NULL;
unsigned picture_count = 0;
--
2.10.2
More information about the vlc-devel
mailing list