-/*****************************************************************************
- * InitThread: initialize video output thread
- *****************************************************************************
- * This function is called from Thread and performs the second step of the
- * initialization. It returns 0 on success. Note that the thread's flag are not
- * modified inside this function.
- * XXX You have to enter it with change_lock taken.
- *****************************************************************************/
-static int ThreadInit(vout_thread_t *vout)
-{
- /* Initialize output method, it allocates direct buffers for us */
- if (vout_InitWrapper(vout))
- return VLC_EGENERIC;
- assert(vout->p->decoder_pool);
-
- vout->p->displayed.decoded = NULL;
-
- /* print some usefull debug info about different vout formats
- */
- PrintVideoFormat(vout, "pic render", &vout->p->original);
- return VLC_SUCCESS;
-}
-