Commit cdffde0d authored by Steve Lhomme's avatar Steve Lhomme Committed by Jean-Baptiste Kempf

vlc_vout: the output video_format_t in vout_GetSnapshot() can be NULL

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent efab6bf4
...@@ -133,6 +133,9 @@ static inline void vout_CloseAndRelease( vout_thread_t *p_vout ) ...@@ -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. * 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 * i_timeout specifies the time the function will wait for a snapshot to be
* available. * available.
* *
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment