add: if (gtx->priv->stream == NULL) { g_value_set_string (value, ""); return; }
context: gtk_xine_get_metadata_string (GtkXine *gtx, GtkXineMetadataType type,		GValue *value){	const char *string;	g_value_init (value, G_TYPE_STRING);	switch (type)	{	case GTX_INFO_TITLE:		string = xine_get_meta_info (gtx->priv->stream,				XINE_META_INFO_TITLE);		break;	case GTX_INFO_ARTIST:		string = xine_get_meta_info (gtx->priv->stream,				XINE_META_INFO_ARTIST);		break;	case GTX_INFO_YEAR:		string = xine_get_meta_info (gtx->priv->stream,				XINE_META_INFO_YEAR);		break;	case GTX_INFO_VIDEO_CODEC:		string = xine_get_meta_info (gtx->priv->stream,				XINE_META_INFO_VIDEOCODEC);		break;	case GTX_INFO_AUDIO_CODEC:		string = xine_get_meta_info (gtx->priv->stream,				XINE_META_INFO_AUDIOCODEC);		break;	default:		g_assert_not_reached ();	}	g_value_set_string (value, string);	return;}