add: if (!g_thread_supported ()) g_thread_init (NULL);  bvw->priv->lock = g_mutex_new ();
context: bacon_video_widget_init (BaconVideoWidget * bvw){  g_return_if_fail (bvw != NULL);  g_return_if_fail (BACON_IS_VIDEO_WIDGET (bvw));  GTK_WIDGET_SET_FLAGS (GTK_WIDGET (bvw), GTK_CAN_FOCUS);  GTK_WIDGET_SET_FLAGS (GTK_WIDGET (bvw), GTK_NO_WINDOW);  GTK_WIDGET_UNSET_FLAGS (GTK_WIDGET (bvw), GTK_DOUBLE_BUFFERED);  bvw->priv = g_new0 (BaconVideoWidgetPrivate, 1);    bvw->priv->update_id = 0;  bvw->priv->tagcache = NULL;  bvw->priv->audiotags = NULL;  bvw->priv->videotags = NULL;}