[vlc-devel] [PATCH] input: resource: remove wrong assertion
Thomas Guillem
thomas at gllm.fr
Sat Feb 29 12:56:14 CET 2020
This assertion is wrong in case of multiple video es.
The new vout doesn't have to be the free one.
---
src/input/resource.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/input/resource.c b/src/input/resource.c
index dc71367b6f..79b42bf07c 100644
--- a/src/input/resource.c
+++ b/src/input/resource.c
@@ -414,7 +414,6 @@ vout_thread_t *input_resource_GetVoutDecoderDevice(input_resource_t *p_resource,
int index;
TAB_FIND(p_resource->i_vout, p_resource->pp_vout, cfg_vout, index );
assert(index >= 0);
- assert(p_resource->p_vout_free == NULL || p_resource->p_vout_free == cfg_vout);
}
#endif
--
2.20.1
More information about the vlc-devel
mailing list