[vlc-devel] [PATCH 2/3] resource: don't store the free vout when starting failed
Steve Lhomme
robux4 at ycbcr.xyz
Mon Oct 21 13:26:21 CEST 2019
The free vout will be saved for later use when the decoder is destroyed. Until
then it is known internally to the decoder and is reused there already.
---
src/input/resource.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/input/resource.c b/src/input/resource.c
index 4830d344837..7370511a8c0 100644
--- a/src/input/resource.c
+++ b/src/input/resource.c
@@ -440,7 +440,6 @@ int input_resource_StartVout(input_resource_t *p_resource,
{
vlc_mutex_lock( &p_resource->lock );
if (vout_Request(cfg, vctx, p_resource->p_input)) {
- input_resource_PutVoutLocked(p_resource, cfg->vout);
vlc_mutex_unlock(&p_resource->lock);
return -1;
}
--
2.17.1
More information about the vlc-devel
mailing list