]> git.sesse.net Git - vlc/blobdiff - include/vlc_vout.h
embedded snapshot: use condition variable
[vlc] / include / vlc_vout.h
index e0d3ecb8a13e70f05c6892a5a7a17541def3cc8f..adab0a665502cdcbc767c1732f2baea7f0d2481e 100644 (file)
@@ -714,6 +714,8 @@ typedef struct snapshot_t {
   int i_height;      /* In pixels */
   int i_datasize;    /* In bytes */
   mtime_t date;      /* Presentation time */
+  vlc_cond_t p_condvar;
+  vlc_mutex_t p_mutex;
 } snapshot_t;
 
 /**@}*/