#include "statistic.h"
#include "chrono.h"
+/* It should be high enough to absorbe jitter due to difficult picture(s)
+ * to decode but not too high as memory is not that cheap.
+ *
+ * It can be made lower at compilation time if needed, but performance
+ * may be degraded.
+ */
+#define VOUT_MAX_PICTURES (20)
+
/* */
struct vout_thread_sys_t
{
/* Splitter module if used */
char *splitter_name;
+ /* Input thread for dvd menu interactions */
+ vlc_object_t *input;
+
/* */
- video_format_t original; /* Original format ie coming from the decoder */
+ video_format_t original; /* Original format ie coming from the decoder */
+ unsigned dpb_size;
/* Snapshot interface */
vout_snapshot_t snapshot;
vout_statistic_t statistic;
/* Subpicture unit */
+ vlc_mutex_t spu_lock;
spu_t *p_spu;
/* Monitor Pixel Aspect Ratio */
void vout_ControlChangeCropBorder(vout_thread_t *, int left, int top, int right, int bottom);
void vout_ControlChangeFilters(vout_thread_t *, const char *);
void vout_ControlChangeSubFilters(vout_thread_t *, const char *);
+void vout_ControlChangeSubMargin(vout_thread_t *, int);
/* */
void vout_IntfInit( vout_thread_t * );
/* */
int spu_ProcessMouse(spu_t *, const vlc_mouse_t *, const video_format_t *);
-void spu_Attach( spu_t *, vlc_object_t *, bool );
+void spu_Attach( spu_t *, vlc_object_t *input, bool );
+void spu_ChangeMargin(spu_t *, int);
#endif