#ifndef _VOUT_CONTROL_H
#define _VOUT_CONTROL_H 1
-/* DO NOT use vout_CountPictureAvailable unless your are in src/input/decoder.c (no exception) */
-int vout_CountPictureAvailable( vout_thread_t * );
-
/**
* This function will (un)pause the display of pictures.
* It is thread safe
*
* XXX This function is there to workaround bugs in decoder
*/
-void vout_FixLeaks( vout_thread_t *p_vout, bool b_forced );
+void vout_FixLeaks( vout_thread_t *p_vout );
-/**
- * This functions will drop a picture retreived by vout_CreatePicture.
+/*
+ * Reset the states of the vout.
*/
-void vout_DropPicture( vout_thread_t *p_vout, picture_t * );
+void vout_Reset( vout_thread_t *p_vout );
/**
* This function will force to display the next picture while paused
*/
void vout_DisplayTitle( vout_thread_t *p_vout, const char *psz_title );
+/**
+ * This function will return true if no more pictures are to be displayed.
+ */
+bool vout_IsEmpty( vout_thread_t *p_vout );
+
#endif