[vlc-commits] vlc_vout: the output video_format_t in vout_GetSnapshot() can be NULL
Steve Lhomme
git at videolan.org
Tue Aug 8 14:18:18 CEST 2017
vlc | branch: master | Steve Lhomme <robUx4 at videolabs.io> | Thu Jul 13 14:50:35 2017 +0200| [cdffde0d4ac411362b6a39ff024163a6132b154e] | committer: Jean-Baptiste Kempf
vlc_vout: the output video_format_t in vout_GetSnapshot() can be NULL
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=cdffde0d4ac411362b6a39ff024163a6132b154e
---
include/vlc_vout.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/include/vlc_vout.h b/include/vlc_vout.h
index fd43f79572..9987404022 100644
--- a/include/vlc_vout.h
+++ b/include/vlc_vout.h
@@ -133,6 +133,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.
*
More information about the vlc-commits
mailing list