From cdffde0d4ac411362b6a39ff024163a6132b154e Mon Sep 17 00:00:00 2001
From: Steve Lhomme <robUx4@videolabs.io>
Date: Thu, 13 Jul 2017 14:50:35 +0200
Subject: [PATCH] vlc_vout: the output video_format_t in vout_GetSnapshot() can
 be NULL

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
---
 include/vlc_vout.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/include/vlc_vout.h b/include/vlc_vout.h
index fd43f79572a3..99874040228a 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.
  *
-- 
GitLab