[vlc-devel] [PATCH] vlc_vout: the output video_format_t in vout_GetSnapshot() can be NULL
Steve Lhomme
robux4 at videolabs.io
Thu Jul 13 14:50:35 CEST 2017
---
include/vlc_vout.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/include/vlc_vout.h b/include/vlc_vout.h
index 3dd50b1676..8d389eeaad 100644
--- a/include/vlc_vout.h
+++ b/include/vlc_vout.h
@@ -149,6 +149,9 @@ static inline void vout_CloseAndRelease( vout_thread_t *p_vout )
*
* pp_image will hold an encoded picture in psz_format format.
*
+ * p_fmt can be NULL otherwise it will be set with the format used for the
+ * picture before encoding.
+ *
* i_timeout specifies the time the function will wait for a snapshot to be
* available.
*
--
2.12.1
More information about the vlc-devel
mailing list