[vlc-devel] [PATCH 1/3] resource: document what input_resource_PutVout does
Steve Lhomme
robux4 at ycbcr.xyz
Mon Oct 21 13:26:20 CEST 2019
Since the name is not giving much hint.
---
src/input/resource.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/input/resource.h b/src/input/resource.h
index 6e85b3661db..fd3f1ab0b33 100644
--- a/src/input/resource.h
+++ b/src/input/resource.h
@@ -42,6 +42,9 @@ vout_thread_t *input_resource_GetVoutDecoderDevice(input_resource_t *,
enum vlc_vout_order *order,
vlc_decoder_device **);
int input_resource_StartVout(input_resource_t *, vlc_video_context *, const vout_configuration_t *);
+/**
+ * Keep the vout object for reuse if it's the main vout or close it.
+ */
void input_resource_PutVout(input_resource_t *, vout_thread_t *);
/**
--
2.17.1
More information about the vlc-devel
mailing list