+ vout_sys_t *p_sys = p_vout->p_sys;
+
+ if ( mdate() - p_sys->i_last_pic > BLANK_DELAY )
+ {
+ /* Display black */
+#if 0
+ picture_t *p_new_pic = (picture_t*)malloc( sizeof(picture_t) );
+ int i;
+
+ if ( p_sys->i_height || p_sys->i_width )
+ {
+ vout_AllocatePicture( p_vout, p_new_pic,
+ VLC_FOURCC('Y','U','V','A'),
+ p_sys->i_width, p_sys->i_height,
+ p_vout->render.i_aspect );
+ }
+ else
+ {
+ vout_AllocatePicture( p_vout, p_new_pic, p_vout->render.i_chroma,
+ p_vout->render.i_width,
+ p_vout->render.i_height,
+ p_vout->render.i_aspect );
+ }
+
+ p_new_pic->i_refcount++;
+ p_new_pic->i_status = DESTROYED_PICTURE;
+ p_new_pic->i_type = DIRECT_PICTURE;
+ p_new_pic->pf_release = ReleasePicture;
+
+ for ( i = 0; i < p_pic->i_planes; i++ )
+ {
+ /* This assumes planar YUV format */
+ p_vout->p_vlc->pf_memset( p_pic->p[i].p_pixels, i ? 0x80 : 0,
+ p_pic->p[i].i_lines
+ * p_pic->p[i].i_pitch );
+ }
+
+ PushPicture( p_vout, p_new_pic );
+#else
+ PushPicture( p_vout, NULL );
+#endif
+ p_sys->i_last_pic = INT64_MAX;
+ }
+