[vlc-devel] [PATCH 03/19] dxa9: make sure the converter doesn't expect draining calls

Steve Lhomme robux4 at ycbcr.xyz
Tue Oct 13 15:51:46 CEST 2020


---
 modules/hw/d3d9/dxa9.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/modules/hw/d3d9/dxa9.c b/modules/hw/d3d9/dxa9.c
index ea6f8091bf5..c19eb428621 100644
--- a/modules/hw/d3d9/dxa9.c
+++ b/modules/hw/d3d9/dxa9.c
@@ -221,6 +221,9 @@ static filter_t *CreateFilter( filter_t *p_this, const es_format_t *p_fmt_in,
         return NULL;
     }
     assert( p_filter->ops != NULL );
+    // we convert into a staging output, we shouldn't have multiple outputs
+    // we are a converter so we are not expected to output multiple pictures
+    assert( p_filter->ops->drain_video == NULL);
 
     return p_filter;
 }
-- 
2.26.2



More information about the vlc-devel mailing list