add: setup_config_stream (bvw);
context: bacon_video_widget_new (int width, int height,		BvwUseType type, GError **error){	BaconVideoWidget *bvw;	xine_cfg_entry_t entry;	bvw = BACON_VIDEO_WIDGET (g_object_new			(bacon_video_widget_get_type (), NULL));	bvw->priv->init_width = width;	bvw->priv->init_height = height;	bvw->priv->type = type;	/* Don't load anything yet if we're looking for proper video	 * output */	if (type == BVW_USE_TYPE_VIDEO)	{		bvw_config_helper_num (bvw->priv->xine, "video.num_buffers",				500, &entry);		entry.num_value = 500;		xine_config_update_entry (bvw->priv->xine, &entry);		return GTK_WIDGET (bvw);	}	/* load the output drivers */	if (type == BVW_USE_TYPE_AUDIO)	{		bvw->priv->ao_driver = load_audio_out_driver (bvw, error);		if (error != NULL && *error != NULL)			return NULL;	}	/* We need to wait for the widget to realise if we want to	 * load a video output with screen output, and capture is the	 * only one actually needing a video output */	if (type == BVW_USE_TYPE_CAPTURE) {		bvw->priv->vo_driver = load_video_out_driver (bvw, TRUE);	}	/* Be extra careful about exiting out nicely when a video output	 * isn't available */	if (type == BVW_USE_TYPE_CAPTURE && bvw->priv->vo_driver == NULL)	{		/* Close the xine stuff */		if (bvw->priv->ao_driver != NULL) {			xine_close_audio_driver (bvw->priv->xine,					bvw->priv->ao_driver);		}		xine_exit (bvw->priv->xine);		/* get rid of all our crappety crap */		g_source_remove (bvw->priv->tick_id);		g_idle_remove_by_data (bvw);		g_async_queue_unref (bvw->priv->queue);		g_free (bvw->priv->vis_name);		g_object_unref (G_OBJECT (bvw->priv->gc));		g_free (bvw->priv->vis_name);		g_free (bvw->priv);		g_free (bvw);		g_set_error (error, BVW_ERROR, BVW_ERROR_VIDEO_PLUGIN,				_("No video output is available. Make sure that the program is correctly installed."));		return NULL;	}	bvw_config_helper_num (bvw->priv->xine, "video.num_buffers",			5, &entry);	entry.num_value = 5;	xine_config_update_entry (bvw->priv->xine, &entry);	bvw->priv->stream = xine_stream_new (bvw->priv->xine,			bvw->priv->ao_driver, bvw->priv->vo_driver);	bvw->priv->ev_queue = xine_event_new_queue (bvw->priv->stream);	return GTK_WIDGET (bvw);}