X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fvideo_output%2Fvout_internal.h;h=eb9fd1729e85413cee40f5d3a507318c8f071966;hb=e1c6e8a777e5ddfb33ccf0763dac18f546205ceb;hp=376b8a2ebf7a8d8b323221fc016206609a0a50e5;hpb=b2fa8fea83dd007cb7612c93fb7f698035a462c8;p=vlc diff --git a/src/video_output/vout_internal.h b/src/video_output/vout_internal.h index 376b8a2ebf..eb9fd1729e 100644 --- a/src/video_output/vout_internal.h +++ b/src/video_output/vout_internal.h @@ -38,11 +38,18 @@ /* */ struct vout_thread_sys_t { + /* Thread & synchronization */ + vlc_thread_t thread; + vlc_cond_t change_wait; + bool b_ready; + bool b_done; + /* */ bool b_picture_displayed; bool b_picture_empty; mtime_t i_picture_displayed_date; picture_t *p_picture_displayed; + int i_picture_qtype; vlc_cond_t picture_wait; /* */ @@ -72,6 +79,7 @@ struct vout_thread_sys_t mtime_t i_pause_date; /* Filter chain */ + bool b_first_vout; /* True if it is the first vout of the filter chain */ char *psz_filter_chain; bool b_filter_change; @@ -79,8 +87,15 @@ struct vout_thread_sys_t filter_chain_t *p_vf2_chain; char *psz_vf2; - /* Misc */ - bool b_snapshot; /**< take one snapshot on the next loop */ + /* Snapshot interface */ + struct + { + bool b_available; + int i_request; + picture_t *p_picture; + vlc_mutex_t lock; + vlc_cond_t wait; + } snapshot; /* Show media title on videoutput */ bool b_title_show;